Boost logo

Boost Users :

From: Guo Xu (goooxu_at_[hidden])
Date: 2007-12-12 07:39:41


i found that , when
int a = 2, b = 0
the expression
 max( (_1 - _2 - 4)( a, b ) , 0 );
should return 0, but return -2, why ?
is it a bug in lambda?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net