]> git.donarmstrong.com Git - rsem.git/blobdiff - boost/fusion/support/sequence_base.hpp
Updated boost to v1.55.0
[rsem.git] / boost / fusion / support / sequence_base.hpp
index 1d436ef165f111b103ba253742672028d3f06200..89affab666703839c178dd92495bc9c05c3ac4a3 100644 (file)
@@ -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
     Copyright (c) 2007 Tobias Schwinger
 
     Distributed under the Boost Software License, Version 1.0. (See accompanying
 
 namespace boost { namespace fusion
 {
 
 namespace boost { namespace fusion
 {
-    struct sequence_root {};
+    namespace detail
+    {
+        struct from_sequence_convertible_type
+        {};
+    }
 
     template <typename Sequence>
 
     template <typename Sequence>
-    struct sequence_base : sequence_root
+    struct sequence_base
     {
         Sequence const&
         derived() const
     {
         Sequence const&
         derived() const
@@ -28,6 +32,11 @@ namespace boost { namespace fusion
         {
             return static_cast<Sequence&>(*this);
         }
         {
             return static_cast<Sequence&>(*this);
         }
+
+        operator detail::from_sequence_convertible_type()const
+        {
+            return detail::from_sequence_convertible_type();
+        }
     };
 
     struct fusion_sequence_tag;
     };
 
     struct fusion_sequence_tag;