[type_traits] upcoming standard question...

Hello! 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? Many Thanks, Ovanes

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

Many thanks for your answer. I unfortunately looked in the other documents,
which were related to rvalue only.
With Kind Regards,
Ovanes
On 10/26/07, AlisdairM
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
AlisdairM
-
Ovanes Markarian