Remove detail metafunctions to simplify template

This commit is contained in:
Kohei Takahashi
2018-03-15 20:49:38 +09:00
parent 11a3f250b8
commit e3b053f969
4 changed files with 7 additions and 43 deletions

View File

@ -9,7 +9,6 @@
#include <boost/fusion/support/config.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/fusion/support/detail/is_view.hpp>
#include <boost/fusion/support/tag_of.hpp>
namespace boost { namespace fusion
@ -28,8 +27,9 @@ namespace boost { namespace fusion
{
template <typename T>
struct apply
: detail::fusion_is_view<T>
{};
{
typedef typename T::is_view type;
};
};
template <>