Subject: [Boost-bugs] [Boost C++ Libraries] #9455: [fusion][c++11] In place construction of a class containing a fusion map is broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-02 15:03:23
#9455: [fusion][c++11] In place construction of a class containing a fusion map is
broken
-----------------------------------------------+------------------------
Reporter: Chris Crickmar <chris.crickmar@â¦> | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
Version: Boost 1.55.0 | Severity: Regression
Keywords: |
-----------------------------------------------+------------------------
In place construction of a class containing a fusion map is broken using
1.55 and gcc 4.8 in c++11 mode. The problem is not present with c++11
disabled or when using previous boost versions (tested with 1.51 & 1.54).
Assuming a class ClassA contains a fusion map. The following code
functions correctly:
{{{
ClassA object1;
std::pair<int, ClassA> pair0(0, object1);
}}}
This example does not function correctly:
{{{
std::pair<int, ClassA> pair0(0, ClassA());
}}}
Minimal sample attached.
Chris
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9455> 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:14 UTC