$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-02 11:55:42
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