File indexing completed on 2025-12-16 09:42:51
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP
0009 #define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP
0010
0011 #include <boost/align/detail/min_size.hpp>
0012
0013 namespace boost {
0014 namespace alignment {
0015 namespace detail {
0016
0017 template<class T>
0018 struct offset_value {
0019 T first;
0020 char value;
0021 T second;
0022 };
0023
0024 template<class T>
0025 struct alignment_of
0026 : min_size<sizeof(T), sizeof(offset_value<T>) - (sizeof(T) << 1)> { };
0027
0028 }
0029 }
0030 }
0031
0032 #endif