From 19d6c7ad3b4b52eccdb05030bbfa3c4aed54e09f Mon Sep 17 00:00:00 2001 From: djowel Date: Mon, 18 Feb 2019 13:59:58 +0800 Subject: [PATCH] Fix is_view_impl to return false for non fusion sequences (just like is_sequence_impl). (reverted from commit 1c693f05bfba855c69fe85bcf8a9ebb1823508a7) --- include/boost/fusion/support/is_view.hpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/include/boost/fusion/support/is_view.hpp b/include/boost/fusion/support/is_view.hpp index 91ad4f6d..b2b52c42 100644 --- a/include/boost/fusion/support/is_view.hpp +++ b/include/boost/fusion/support/is_view.hpp @@ -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,13 +40,6 @@ namespace boost { namespace fusion struct apply : mpl::false_ {}; }; - template <> - struct is_view_impl - { - template - struct apply : mpl::false_ {}; - }; - template <> struct is_view_impl {