forked from boostorg/type_traits
Disambiguated certain constructs.
[SVN r34227]
This commit is contained in:
@ -51,7 +51,7 @@ struct alignment_of_impl
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(std::size_t, value =
|
||||
(::boost::detail::alignment_logic<
|
||||
sizeof(detail::alignment_of_hack<T>) - sizeof(T),
|
||||
sizeof(::boost::detail::alignment_of_hack<T>) - sizeof(T),
|
||||
sizeof(T)
|
||||
>::value));
|
||||
};
|
||||
|
@ -192,11 +192,11 @@ struct is_pod< ::boost::detail::lower_alignment<Align> >
|
||||
template <std::size_t Align>
|
||||
class type_with_alignment
|
||||
{
|
||||
typedef detail::lower_alignment<Align> t1;
|
||||
typedef ::boost::detail::lower_alignment<Align> t1;
|
||||
typedef typename mpl::if_c<
|
||||
::boost::detail::is_aligned< ::boost::alignment_of<t1>::value,Align >::value
|
||||
, t1
|
||||
, detail::max_align
|
||||
, ::boost::detail::max_align
|
||||
>::type align_t;
|
||||
|
||||
BOOST_STATIC_CONSTANT(std::size_t, found = alignment_of<align_t>::value);
|
||||
|
Reference in New Issue
Block a user