[Boost-bugs] [Boost C++ Libraries] #3225: boost::fusion sequence throws compiler error when used with boost::mpl::is_sequence

Subject: [Boost-bugs] [Boost C++ Libraries] #3225: boost::fusion sequence throws compiler error when used with boost::mpl::is_sequence
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-26 21:04:15


#3225: boost::fusion sequence throws compiler error when used with
boost::mpl::is_sequence
---------------------------------------------------+------------------------
 Reporter: Jeffrey Hellrung <jhellrung@…> | Owner: djowel
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: fusion
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: fusion mpl is_sequence |
---------------------------------------------------+------------------------
 The boost::fusion documentation states in the Introduction section

     "Fusion sequences are fully conforming MPL sequences ..."

 It seems incorrect, then, that the following code does not compile (boost
 version 1.39 with MSVC 9):

 {{{

 #include <boost/fusion/container/vector.hpp>
 #include <boost/mpl/assert.hpp>
 #include <boost/mpl/is_sequence.hpp>

 int main(int argc, char* argv[])
 {
     typedef boost::fusion::vector1< int > vector_type;
     static const bool b = boost::mpl::is_sequence< vector_type >::value;
     return 0;
 }

 }}}

 Would someone please explain what the deal is?

 The compiler output is attached.

 I have found both boost::fusion and boost::mpl (otherwise) extremely
 useful!

 Thanks!

 - Jeff

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3225>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC