ticket 7885 rvalue support for metafunctions.

This commit is contained in:
Neil Groves
2014-03-09 00:28:43 +00:00
parent be85e295e8
commit 4ebbbba82b
22 changed files with 844 additions and 8 deletions

View File

@ -19,12 +19,14 @@
#include <boost/range/detail/extract_optional_type.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/iterator/iterator_traits.hpp>
#include <cstddef>
#include <utility>
namespace boost
{
//////////////////////////////////////////////////////////////////////////
// default
//////////////////////////////////////////////////////////////////////////
@ -34,7 +36,9 @@ namespace boost
}
template< typename C >
struct range_mutable_iterator : range_detail::extract_iterator<C>
struct range_mutable_iterator
: range_detail::extract_iterator<
BOOST_DEDUCED_TYPENAME remove_reference<C>::type>
{};
//////////////////////////////////////////////////////////////////////////