forked from boostorg/type_traits
Fix int/size_t issues
[SVN r24711]
This commit is contained in:
@ -158,7 +158,7 @@ union max_align
|
||||
#undef BOOST_TT_CHOOSE_MIN_ALIGNMENT
|
||||
#undef BOOST_TT_CHOOSE_T
|
||||
|
||||
template<int TAlign, int Align>
|
||||
template<std::size_t TAlign, std::size_t Align>
|
||||
struct is_aligned
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(bool,
|
||||
@ -189,7 +189,7 @@ struct is_pod< ::boost::detail::lower_alignment<Align> >
|
||||
|
||||
// This alignment method originally due to Brian Parker, implemented by David
|
||||
// Abrahams, and then ported here by Doug Gregor.
|
||||
template <int Align>
|
||||
template <std::size_t Align>
|
||||
class type_with_alignment
|
||||
{
|
||||
typedef detail::lower_alignment<Align> t1;
|
||||
|
Reference in New Issue
Block a user