1 /* 2 Copyright 2014-2015 Glen Joseph Fernandes 3 ([email protected]) 4 5 Distributed under the Boost Software License, Version 1.0. 6 (http://www.boost.org/LICENSE_1_0.txt) 7 */ 8 #ifndef BOOST_ALIGN_DETAIL_MAX_ALIGN_HPP 9 #define BOOST_ALIGN_DETAIL_MAX_ALIGN_HPP 10 11 #include <boost/align/detail/max_size.hpp> 12 #include <boost/align/alignment_of.hpp> 13 14 namespace boost { 15 namespace alignment { 16 namespace detail { 17 18 template<class A, class B> 19 struct max_align 20 : max_size<alignment_of<A>::value, alignment_of<B>::value> { }; 21 22 } /* detail */ 23 } /* alignment */ 24 } /* boost */ 25 26 #endif 27