1 // (C) Copyright Andrey Semashev 2013
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // See http://www.boost.org/libs/config for more information.
9 // MACRO: BOOST_NO_CXX11_ALIGNAS
10 // TITLE: C++11 alignas keyword.
11 // DESCRIPTION: The compiler does not support the C++11 alignment specification with alignas keyword.
13 namespace boost_no_cxx11_alignas {
15 struct alignas(16) my_data1
20 struct alignas(double) my_data2
27 alignas(16) char dummy3[10];
28 alignas(double) char dummy4[32];
32 // TODO: Test that the data is actually aligned on platforms with uintptr_t