diff options
Diffstat (limited to 'boost/align/detail/alignment_of_msvc.hpp')
-rw-r--r-- | boost/align/detail/alignment_of_msvc.hpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/boost/align/detail/alignment_of_msvc.hpp b/boost/align/detail/alignment_of_msvc.hpp index cdd7c477ce..1526c7c296 100644 --- a/boost/align/detail/alignment_of_msvc.hpp +++ b/boost/align/detail/alignment_of_msvc.hpp @@ -1,10 +1,9 @@ /* -(c) 2014-2015 Glen Joseph Fernandes -<glenjofe -at- gmail.com> +Copyright 2014-2015 Glen Joseph Fernandes +(glenjofe@gmail.com) -Distributed under the Boost Software -License, Version 1.0. -http://boost.org/LICENSE_1_0.txt +Distributed under the Boost Software License, Version 1.0. +(http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP #define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP @@ -16,7 +15,7 @@ namespace alignment { namespace detail { template<class T> -struct alignof_helper { +struct offset_value { T first; char value; T second; @@ -25,10 +24,10 @@ struct alignof_helper { template<class T> struct alignment_of : min_size<sizeof(T), - sizeof(alignof_helper<T>) - (sizeof(T) << 1)> { }; + sizeof(offset_value<T>) - (sizeof(T) << 1)> { }; -} /* .detail */ -} /* .alignment */ -} /* .boost */ +} /* detail */ +} /* alignment */ +} /* boost */ #endif |