Use local sfinae typedefs for yes_type and no_type.

Remove dependency on Boost.Algorithm library.
This commit is contained in:
Stephen Kelly
2014-09-10 15:37:21 +02:00
parent 0e9a9e613b
commit 8bb3a85f68

View File

@ -23,7 +23,6 @@
#include <boost/mpl/vector.hpp>
#include <boost/mpl/fold.hpp>
#include <boost/detail/iterator.hpp>
#include <boost/algorithm/string/yes_no_type.hpp>
// Container traits implementation ---------------------------------------------------------
@ -115,7 +114,10 @@ namespace boost {
};
// Pair container traits ---------------------------------------------------------------------
typedef double yes_type;
typedef char no_type;
// pair selector
template< typename T, typename U >
yes_type is_pair_impl( const std::pair<T,U>* );