summaryrefslogtreecommitdiff
path: root/boost/fusion/support/category_of.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/support/category_of.hpp')
-rw-r--r--boost/fusion/support/category_of.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/fusion/support/category_of.hpp b/boost/fusion/support/category_of.hpp
index 6bdf6d0291..92b0ea1b60 100644
--- a/boost/fusion/support/category_of.hpp
+++ b/boost/fusion/support/category_of.hpp
@@ -36,6 +36,8 @@ namespace boost { namespace fusion
struct associative_tag {};
+ struct unbounded_tag {};
+
namespace extension
{
template<typename Tag>
@@ -107,6 +109,13 @@ namespace boost { namespace fusion
random_access_traversal_tag
, typename category_of<T>::type>
{};
+
+ template <typename T>
+ struct is_unbounded
+ : is_base_of<
+ unbounded_tag
+ , typename category_of<T>::type>
+ {};
}
}}