Boost C++ Libraries: Ticket #10837: Autodetect visitation return types when possible https://svn.boost.org/trac10/ticket/10837 <p> Fixing this will allow to use <code>boost::apply_visitor</code> with generic lambda funtions: </p> <pre class="wiki">auto str = boost::apply_visitor( [](auto v) { return boost::lexical_cast&lt;std::string&gt;(v); }, variant_instance ); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10837 Trac 1.4.3 Antony Polukhin Tue, 02 Dec 2014 14:51:12 GMT <link>https://svn.boost.org/trac10/ticket/10837#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10837#comment:1</guid> <description> <p> Initial implementation for unary visitors was added to <a class="ext-link" href="https://github.com/boostorg/variant/commit/f8a29a0d2f7a65b2572722409f6ab7a5e6d689b1"><span class="icon">​</span>develop branch</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 02 Dec 2014 16:03:19 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10837#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10837#comment:2</guid> <description> <p> <a class="ext-link" href="https://github.com/boostorg/variant/commit/6e318060382d37788e7ae399fd9cdbc9beebb13e"><span class="icon">​</span>another issue related commit</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 02 Dec 2014 16:12:11 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/10837#comment:3 https://svn.boost.org/trac10/ticket/10837#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Antony Polukhin Mon, 09 Mar 2015 11:59:57 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10837#comment:4 https://svn.boost.org/trac10/ticket/10837#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket