Boost C++ Libraries: Ticket #12352: factory object fails to be assigned to function object when deducing constructor argument (C++11 only) https://svn.boost.org/trac10/ticket/12352 <p> When assigning a constructed boost::factory to a boost::function and having the factory template automatically deduce the constructor parameter, it fails to build in C++11, but not C++98. </p> <p> I used g++ 5.4.0 on Linux, x86-64. </p> <p> I'm attaching both my minimal test program and the error output. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12352 Trac 1.4.3 Matthew Hoops <matthewthoops@…> Tue, 26 Jul 2016 14:09:13 GMT attachment set https://svn.boost.org/trac10/ticket/12352 https://svn.boost.org/trac10/ticket/12352 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_factory_bug.cpp</span> </li> </ul> <p> Minimal test case program </p> Ticket Matthew Hoops <matthewthoops@…> Tue, 26 Jul 2016 14:13:06 GMT attachment set https://svn.boost.org/trac10/ticket/12352 https://svn.boost.org/trac10/ticket/12352 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_factory_bug_comp_error.txt</span> </li> </ul> <p> g++ error output </p> Ticket Matthew Hoops <matthewthoops@…> Tue, 26 Jul 2016 14:14:01 GMT <link>https://svn.boost.org/trac10/ticket/12352#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12352#comment:1</guid> <description> <p> Forgot to mention: I'm using the current master to test: 415be65eaebf70d7e007fe8a74802943db91a102. This also happens with 1.60.0. </p> </description> <category>Ticket</category> </item> </channel> </rss>