Disambiguated certain constructs.

[SVN r34226]
This commit is contained in:
Hartmut Kaiser
2006-06-08 01:39:40 +00:00
parent de714a5da4
commit bc351d63a4
2 changed files with 3 additions and 3 deletions

View File

@ -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));
};

View File

@ -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);