[Lambda] result_of support bug for placeholders?

17 Jan
2011
17 Jan
'11
12:32 a.m.
Hi, Let's we have using boost::lambda::_1; typedef boost::remove_reference<decltype(_1)>::type _1_type; Then, decltype(_1(1)) (and std::result_of<_1_type(int)>::type) is 'int const&', but boost::tr1_result_of<_1_type(int)>::type is 'int&". Is this a bug? Regards, Michel
5241
Age (days ago)
5241
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michel MORIN