2 Aug
2008
2 Aug
'08
3:55 p.m.
AMDG Tim Hockin wrote:
I use a few lambdas in my application. Simple ones like (_1 + 1) work fine. However, when I use this next one, the compile blows up on me and produces a huge and indecipherable error: if_then_else_return(_1 == 0, 64, _1)
This is a bug in Lambda. Use int y = call_this(if_then_else_return(_1 == 0, 50, ll_static_cast<const int>(_1))); In Christ, Steven Watanabe