[mpl] eval_if has default parameters?

28 Mar
2005
28 Mar
'05
9:30 p.m.
The following compiles (VC7.1, gcc3.2), and I am wondering if this is the intended behaviour(boost 1.32) Note the two default parameters to eval_if. here #include <iostream> #include <boost/mpl/eval_if.hpp> int main() { typedef boost::mpl::eval_if< boost::mpl::true_ // whatever nullary metafunction >::type type; std::cout << type::value <<'\n'; // outputs 0 } regards Andy Little

29 Mar
29 Mar
1:22 a.m.
Oops... sorry... that one slipped out unintentionally :-( regards Andy Little
7381
Age (days ago)
7382
Last active (days ago)
1 comments
1 participants
participants (1)
-
Andy Little