
26 Oct
2007
26 Oct
'07
4:19 a.m.
Ovanes Markarian wrote:
I am just wondering, that the upcoming standard does not provide the is_rvalue type_trait. At least I did not find it in the mailings. Since there is an is_reference trait and rvalues are going to be added to the standard, don't you think the is_rvalue should be a part of upcoming standard type_traits?
The last working draught I looked at has both is_rvalue_reference and is_lvalue_reference, in addition to is_reference which matches either. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2369.pdf See 20.4.4.1, table 41 -- AlisdairM