This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: c++0x vs. tr1 type_traits, round 1
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 26 Apr 2007 13:15:39 +0200
- Subject: Re: c++0x vs. tr1 type_traits, round 1
- References: <462FD7DF.6090208@redhat.com> <462FDE8C.2020501@suse.de>
In general, these issue about TR1 vs C++0x are nasty. Other traits, for
example, are undergoing subtle semantic changes (for example, I
implemented __is_base_of consistently with the C++0x semantics and, as
you can see, for now, for TR1, I'm adjusting it a bit to the TR1
semantics); likewise for is_convertible_to, which will be different in
C+++0x (I'm currently working on the front-end support for it).
Also something that struck me as strange is that make_unsigned<wchar_t>
gives unsigned wchar_t, but is_unsigned<wchar_t> doesn't work.
Either the algebra seems off, or my understanding is incomplete.
-benjamin