Define traits::is_view for non fusion types

This commit is contained in:
Nikita Kniazev committed 2018-08-03 00:24:10 +03:00
1 parent b8fafe04d9
commit b0f0882229
39 files changed
+66

No files matched your search

+8
View File
@@ -14,6 +14,7 @@
namespace boost { namespace fusion
{
// Special tags:
struct non_fusion_tag;
struct sequence_facade_tag;
struct boost_tuple_tag; // boost::tuples::tuple tag
struct boost_array_tag; // boost::array tag
@@ -32,6 +33,13 @@ namespace boost { namespace fusion
};
};
template <>
struct is_view_impl<non_fusion_tag>
{
template <typename T>
struct apply : mpl::false_ {};
};
template <>
struct is_view_impl<sequence_facade_tag>
{