Opened 12 years ago
Closed 12 years ago
#4203 closed Bugs (fixed)
boost/lambda/casts.hpp requires #include before it
Reported by: | Owned by: | No-Maintainer | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | lambda |
Version: | Boost 1.43.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I have noticed, that with includes in this order:
#include <boost/lambda/cast.hpp> #include <boost/lambda/lambda.hpp>
later using ll_static_cast fails to compile with first message (gcc-4.3):
/usr/include/boost/lambda/casts.hpp:93: error: ‘return_type_N’ is not a template
However, including lambda.hpp before cast.hpp fixes the error. I have tested this with boost 1.42.0 and 1.43.0.
Regards Krzysztof Czainski
Attachments (1)
Change History (2)
by , 12 years ago
comment:1 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
test case