summaryrefslogtreecommitdiff
path: root/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp')
-rw-r--r--boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp55
1 files changed, 3 insertions, 52 deletions
diff --git a/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp b/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp
index 34d8230c55..5a4be127b5 100644
--- a/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp
+++ b/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp
@@ -23,8 +23,6 @@
#include <boost/mpl/bool.hpp>
#include "./std_unordered_set_or_map_fwd.hpp"
-#ifdef BOOST_PHOENIX_HAS_UNORDERED_SET_AND_MAP
-
namespace boost
{
template<class T>
@@ -47,6 +45,8 @@ namespace boost
: boost::mpl::false_
{};
+#ifdef BOOST_PHOENIX_HAS_UNORDERED_SET_AND_MAP
+
template<
class Kty
, class Hash
@@ -89,56 +89,7 @@ namespace boost
: boost::mpl::true_
{};
- template<
- class Kty
- , class Hash
- , class Cmp
- , class Alloc
- >
- struct has_find< std::unordered_set<Kty,Hash,Cmp,Alloc> >
- : boost::mpl::true_
- {
- };
-
- template<
- class Kty
- , class Hash
- , class Cmp
- , class Alloc
- >
- struct has_find< std::unordered_multiset<Kty,Hash,Cmp,Alloc> >
- : boost::mpl::true_
- {
- };
-
- template<
- class Kty
- , class Ty
- , class Hash
- , class Cmp
- , class Alloc
- >
- struct has_find< std::unordered_map<Kty,Ty,Hash,Cmp,Alloc> >
- : boost::mpl::true_
- {
- };
-
- template<
- class Kty
- , class Ty
- , class Hash
- , class Cmp
- , class Alloc
- >
- struct has_find< std::unordered_multimap<Kty,Ty,Hash,Cmp,Alloc> >
- : boost::mpl::true_
- {
- };
-
-
-}
-
#endif
-
+} // namespace boost
#endif