Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/align/detail/alignment_of_msvc.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 /* |
Chris@102 | 2 (c) 2014 Glen Joseph Fernandes |
Chris@102 | 3 glenjofe at gmail dot com |
Chris@102 | 4 |
Chris@102 | 5 Distributed under the Boost Software |
Chris@102 | 6 License, Version 1.0. |
Chris@102 | 7 http://boost.org/LICENSE_1_0.txt |
Chris@102 | 8 */ |
Chris@102 | 9 #ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP |
Chris@102 | 10 #define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP |
Chris@102 | 11 |
Chris@102 | 12 #include <boost/align/detail/min_size.hpp> |
Chris@102 | 13 #include <boost/align/detail/offset_object.hpp> |
Chris@102 | 14 |
Chris@102 | 15 namespace boost { |
Chris@102 | 16 namespace alignment { |
Chris@102 | 17 namespace detail { |
Chris@102 | 18 template<class T> |
Chris@102 | 19 struct alignment_of |
Chris@102 | 20 : min_size<sizeof(T), |
Chris@102 | 21 offsetof(offset_object<T>, object)>::type { |
Chris@102 | 22 }; |
Chris@102 | 23 } |
Chris@102 | 24 } |
Chris@102 | 25 } |
Chris@102 | 26 |
Chris@102 | 27 #endif |