X-Git-Url: https://git.donarmstrong.com/?p=rsem.git;a=blobdiff_plain;f=boost%2Ffusion%2Fsupport%2Fsequence_base.hpp;fp=boost%2Ffusion%2Fsupport%2Fsequence_base.hpp;h=89affab666703839c178dd92495bc9c05c3ac4a3;hp=1d436ef165f111b103ba253742672028d3f06200;hb=2d71eb92104693ca9baa5a2e1c23eeca776d8fd3;hpb=da57529b92adbb7ae74a89861cb39fb35ac7c62d diff --git a/boost/fusion/support/sequence_base.hpp b/boost/fusion/support/sequence_base.hpp index 1d436ef..89affab 100644 --- a/boost/fusion/support/sequence_base.hpp +++ b/boost/fusion/support/sequence_base.hpp @@ -1,5 +1,5 @@ /*============================================================================= - Copyright (c) 2001-2006 Joel de Guzman + Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2007 Tobias Schwinger Distributed under the Boost Software License, Version 1.0. (See accompanying @@ -12,10 +12,14 @@ namespace boost { namespace fusion { - struct sequence_root {}; + namespace detail + { + struct from_sequence_convertible_type + {}; + } template - struct sequence_base : sequence_root + struct sequence_base { Sequence const& derived() const @@ -28,6 +32,11 @@ namespace boost { namespace fusion { return static_cast(*this); } + + operator detail::from_sequence_convertible_type()const + { + return detail::from_sequence_convertible_type(); + } }; struct fusion_sequence_tag;