fixed tuples::length not having a specialization for const tuple<> and const null_type

[SVN r51862]
This commit is contained in:
Joel de Guzman
2009-03-20 01:21:42 +00:00
parent e9dc95ae93
commit 451415ebce

View File

@ -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 {