31 Mar
2011
31 Mar
'11
3:47 p.m.
AMDG On 03/31/2011 08:29 AM, Robert Jones wrote:
From Bjorn Karlsson's book, P297...
int i; int value = 12; var(i) = ( if_then_else_return( _1>=10, constant(10),_1) )(value);
Why does the assignment LHS need to be wrapped in var()?
Because operator= must be a member function. In Christ, Steven Watanabe