Boost C++ Libraries: Ticket #4203: boost/lambda/casts.hpp requires #include before it https://svn.boost.org/trac10/ticket/4203 <p> I have noticed, that with includes in this order: </p> <pre class="wiki">#include &lt;boost/lambda/cast.hpp&gt; #include &lt;boost/lambda/lambda.hpp&gt; </pre><p> later using ll_static_cast fails to compile with first message (gcc-4.3): </p> <p> /usr/include/boost/lambda/casts.hpp:93: error: ‘return_type_N’ is not a template </p> <p> However, including lambda.hpp before cast.hpp fixes the error. I have tested this with boost 1.42.0 and 1.43.0. </p> <p> Regards Krzysztof Czainski </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4203 Trac 1.4.3 1czajnik@… Sun, 09 May 2010 19:15:33 GMT attachment set https://svn.boost.org/trac10/ticket/4203 https://svn.boost.org/trac10/ticket/4203 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> <p> test case </p> Ticket Steven Watanabe Sun, 09 May 2010 20:07:09 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4203#comment:1 https://svn.boost.org/trac10/ticket/4203#comment:1 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61881" title="Make sure that all top level headers in Lambda include their ...">[61881]</a>) Make sure that all top level headers in Lambda include their dependencies. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4203" title="#4203: Bugs: boost/lambda/casts.hpp requires #include before it (closed: fixed)">#4203</a> </p> Ticket