Boost C++ Libraries: Ticket #11704: Can't pass a generic lambda as an argument to a parser https://svn.boost.org/trac10/ticket/11704 <p> This example will fail to compile: </p> <p> auto f = [](qi::unused_type, auto &amp;ctx) { return true; }; qi::rule&lt;const char*&gt; r{ qi::eps(f) }; </p> <p> Changing the lambda to a non-generic one will make this work (by passing the context type explicitly) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11704 Trac 1.4.3 Matheus Izvekov <mizvekov@…> Fri, 02 Oct 2015 13:27:46 GMT attachment set https://svn.boost.org/trac10/ticket/11704 https://svn.boost.org/trac10/ticket/11704 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.cc</span> </li> </ul> Ticket