Merge [51862], [53211], [53212], and [53218] from the trunk

[SVN r53872]
This commit is contained in:
Steven Watanabe
2009-06-13 18:30:31 +00:00
parent 700d64acc8
commit 41ebb2ee6c
8 changed files with 191 additions and 129 deletions

View File

@ -213,7 +213,7 @@ struct element_impl<0, T, true /* IsConst */>
template<int N, class T>
struct element:
struct element:
public detail::element_impl<N, T, ::boost::is_const<T>::value>
{
};
@ -488,11 +488,20 @@ struct length<tuple<> > {
BOOST_STATIC_CONSTANT(int, value = 0);
};
template<>
struct length<tuple<> const> {
BOOST_STATIC_CONSTANT(int, value = 0);
};
template<>
struct length<null_type> {
BOOST_STATIC_CONSTANT(int, value = 0);
};
template<>
struct length<null_type const> {
BOOST_STATIC_CONSTANT(int, value = 0);
};
namespace detail {