forked from boostorg/range
Use local sfinae typedefs for yes_type and no_type.
Remove dependency on Boost.Algorithm library.
This commit is contained in:
@ -23,7 +23,6 @@
|
|||||||
#include <boost/mpl/vector.hpp>
|
#include <boost/mpl/vector.hpp>
|
||||||
#include <boost/mpl/fold.hpp>
|
#include <boost/mpl/fold.hpp>
|
||||||
#include <boost/detail/iterator.hpp>
|
#include <boost/detail/iterator.hpp>
|
||||||
#include <boost/algorithm/string/yes_no_type.hpp>
|
|
||||||
|
|
||||||
// Container traits implementation ---------------------------------------------------------
|
// Container traits implementation ---------------------------------------------------------
|
||||||
|
|
||||||
@ -116,6 +115,9 @@ namespace boost {
|
|||||||
|
|
||||||
// Pair container traits ---------------------------------------------------------------------
|
// Pair container traits ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
typedef double yes_type;
|
||||||
|
typedef char no_type;
|
||||||
|
|
||||||
// pair selector
|
// pair selector
|
||||||
template< typename T, typename U >
|
template< typename T, typename U >
|
||||||
yes_type is_pair_impl( const std::pair<T,U>* );
|
yes_type is_pair_impl( const std::pair<T,U>* );
|
||||||
|
Reference in New Issue
Block a user