summaryrefslogtreecommitdiff
path: root/boost/phoenix/stl/container/detail/container.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/phoenix/stl/container/detail/container.hpp')
-rw-r--r--boost/phoenix/stl/container/detail/container.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/boost/phoenix/stl/container/detail/container.hpp b/boost/phoenix/stl/container/detail/container.hpp
index fb6cad2fe9..bca98f43cb 100644
--- a/boost/phoenix/stl/container/detail/container.hpp
+++ b/boost/phoenix/stl/container/detail/container.hpp
@@ -124,6 +124,26 @@ namespace boost { namespace phoenix { namespace stl
template <typename C>
two has_mapped_type(...);
+
+ template<typename T>
+ struct enable_if_is_void
+ {};
+
+ template<>
+ struct enable_if_is_void<void>
+ {
+ typedef void type;
+ };
+
+ template<typename T>
+ struct disable_if_is_void
+ {
+ typedef T type;
+ };
+
+ template<>
+ struct disable_if_is_void<void>
+ {};
}
template <typename C>