[Boost-bugs] [Boost C++ Libraries] #6965: Handling of sequence of non const reference

Subject: [Boost-bugs] [Boost C++ Libraries] #6965: Handling of sequence of non const reference
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-04 18:58:49


#6965: Handling of sequence of non const reference
-------------------------------------+--------------------------------------
 Reporter: jfalcou | Owner: djowel
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: fusion
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 Currently, assigning or copying a fusion sequence of non const reference
 to another is not possible. Down into the code, the vectorN classes only
 has a vectorN( const Sequence& ) constructor that calls a const qualified
 from_sequence method from the base_type.

 Sequence of reference has a nice use case of enabling strcuture of
 array//Array of structure efficient application and this can't be doen
 with current Fusion.

 Could all sequence be amended so passing a non const sequence as
 initialisation is dealt with correctly ?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6965>
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:09 UTC