Re: [Boost-bugs] [Boost C++ Libraries] #3684: tuple not really a synonym for vector?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3684: tuple not really a synonym for vector?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-27 19:45:58


#3684: tuple not really a synonym for vector?
--------------------------+-------------------------------------------------
 Reporter: dave | Owner: djowel
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: fusion
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------

Comment(by djowel):

 The docs read as: "Currently tuple is basically a synonym for vector,
 although this may be changed in future releases of fusion. "

 That should be understood as "Currently fusion::tuple is basically a
 synonym for fusion::vector, although this may be changed in future
 releases of fusion. "

 I believe this claim holds. You can use fusion::tuple and fusion::vector
 interchangeably. The claim does not imply that boost::tuple is a synonym
 for fusion::vector as your patch requires. I tried your code and the
 compiler barfs when it gets to the point where it expects *invalid*
 expressions like Tuple::head_type. If the code adheres to only the API of
 TR1::tuple and/or fusion::vector, then all is well.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3684#comment:1>
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:01 UTC