|
Boost-Commit : |
From: jefffaust_at_[hidden]
Date: 2007-06-03 23:24:08
Author: jefffaust
Date: 2007-06-03 23:24:07 EDT (Sun, 03 Jun 2007)
New Revision: 4429
URL: http://svn.boost.org/trac/boost/changeset/4429
Log:
Text files modified:
sandbox/explore/boost/explore/is_assoc_iter.hpp | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
Modified: sandbox/explore/boost/explore/is_assoc_iter.hpp
==============================================================================
--- sandbox/explore/boost/explore/is_assoc_iter.hpp (original)
+++ sandbox/explore/boost/explore/is_assoc_iter.hpp 2007-06-03 23:24:07 EDT (Sun, 03 Jun 2007)
@@ -48,17 +48,8 @@
//
// returns true if the value_t could be the value_type
- // of a map of which the iterator matches iterator_t
+ // of a map or multimap of which the iterator matches iterator_t
//
- template<typename T>
- struct is_pair : boost::mpl::false_ {};
-
- template<typename T1, typename T2>
- struct is_pair<std::pair<T1, T2> > : boost::mpl::true_ {};
-
- template<typename T>
- struct value_type_is_pair : is_pair<typename T::value_type> {};
-
template< typename value_t, typename iterator_t>
struct pair_matches_map : boost::mpl::false_ {};
@@ -85,7 +76,6 @@
struct is_assoc_iter :
boost::mpl::eval_if<
detail::has_value_type<T>,
-// detail::value_type_is_pair<T>,
detail::value_matches_map<T>,
boost::mpl::false_
> {};
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk