Boost C++ Libraries: Ticket #9455: [fusion][c++11] In place construction of a class containing a fusion map is broken https://svn.boost.org/trac10/ticket/9455 <p> 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 &amp; 1.54). </p> <p> Assuming a class ClassA contains a fusion map. The following code functions correctly: </p> <pre class="wiki">ClassA object1; std::pair&lt;int, ClassA&gt; pair0(0, object1); </pre><p> This example does not function correctly: </p> <pre class="wiki">std::pair&lt;int, ClassA&gt; pair0(0, ClassA()); </pre><p> Minimal sample attached. </p> <p> Chris </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9455 Trac 1.4.3 Chris Crickmar <chris.crickmar@…> Mon, 02 Dec 2013 15:04:04 GMT attachment set https://svn.boost.org/trac10/ticket/9455 https://svn.boost.org/trac10/ticket/9455 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> Ticket Chris Crickmar <chris.crickmar@…> Tue, 18 Mar 2014 13:21:00 GMT <link>https://svn.boost.org/trac10/ticket/9455#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9455#comment:1</guid> <description> <p> I've just tested this on trunk (2014-03-18) with Fedora 18 (gcc 4.7). This is still an issue. </p> <p> For completeness these are the compiler command lines being used and output: </p> <p> <strong>g++ -W -Wall -Wextra -pedantic -I&lt;path-to-boost&gt; -o test-c main.cpp (works)</strong> </p> <pre class="wiki">object copy construction (not broken) MappedType 0 : 1234 MappedType 1 : 1234 in place construction (broken for c++11) MappedType 0 : 1234 MappedType 1 : 1234 </pre><p> <strong>g++ -W -Wall -Wextra -pedantic -I&lt;path-to-boost&gt; -std=c++0x -o test-c main.cpp (fails)</strong> </p> <pre class="wiki">object copy construction (not broken) MappedType 0 : 1234 MappedType 1 : 1234 in place construction (broken for c++11) MappedType 0 : 1234 MappedType 1 : 4.94066e-324 &lt;------ FAILURE </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Tue, 18 Mar 2014 15:48:03 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9455#comment:2 https://svn.boost.org/trac10/ticket/9455#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> fixed now. thanks! </p> Ticket