Fix is_view_impl to return false for non fusion sequences (just like is_sequence_impl).

This commit is contained in:
djowel
2019-02-18 12:45:36 +08:00
parent f0089a640e
commit 1c693f05bf

View File

@ -1,7 +1,7 @@
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#if !defined(FUSION_IS_VIEW_03202006_0015)
@ -40,6 +40,13 @@ namespace boost { namespace fusion
struct apply : mpl::false_ {};
};
template <>
struct is_view_impl<non_fusion_tag>
{
template <typename T>
struct apply : mpl::false_ {};
};
template <>
struct is_view_impl<sequence_facade_tag>
{