summaryrefslogtreecommitdiff
path: root/boost/fusion/support/is_view.hpp
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-08-26 08:15:55 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-08-26 08:15:55 -0400
commitbb4dd8289b351fae6b55e303f189127a394a1edd (patch)
tree77c9c35a31b1459dd7988c2448e797d142530c41 /boost/fusion/support/is_view.hpp
parent1a78a62555be32868418fe52f8e330c9d0f95d5a (diff)
downloadboost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.gz
boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.bz2
boost-bb4dd8289b351fae6b55e303f189127a394a1edd.zip
Imported Upstream version 1.51.0upstream/1.51.0
Diffstat (limited to 'boost/fusion/support/is_view.hpp')
-rw-r--r--boost/fusion/support/is_view.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/boost/fusion/support/is_view.hpp b/boost/fusion/support/is_view.hpp
index dbcc93a9bb..4ec9e06528 100644
--- a/boost/fusion/support/is_view.hpp
+++ b/boost/fusion/support/is_view.hpp
@@ -7,6 +7,7 @@
#if !defined(FUSION_IS_VIEW_03202006_0015)
#define FUSION_IS_VIEW_03202006_0015
+#include <boost/mpl/bool.hpp>
#include <boost/fusion/support/detail/is_view.hpp>
#include <boost/fusion/support/tag_of.hpp>
@@ -54,8 +55,10 @@ namespace boost { namespace fusion
{
template <typename T>
struct is_view :
- extension::is_view_impl<typename fusion::detail::tag_of<T>::type>::
- template apply<T>::type
+ mpl::bool_<
+ (bool)extension::is_view_impl<typename fusion::detail::tag_of<T>::type>::
+ template apply<T>::type::value
+ >
{};
}
}}