This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50441] [C++0x] <type_traits> is missing GNU extension types
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Sep 2011 09:11:46 +0000
- Subject: [Bug libstdc++/50441] [C++0x] <type_traits> is missing GNU extension types
- Auto-submitted: auto-generated
- References: <bug-50441-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50441
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joseph at codesourcery dot
| |com
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-17 09:11:46 UTC ---
The issue seems trivial at the <type_traits> level, but I'm not sure we want to
do this right away (we have a similar one for numeric_limits and a preliminary
patch sits on my machine): for instance I'm worried that if such types satisfy
an enable_if in overload resolution, then must be handled by the code as any
other integer (or floating point) type, and I don't think that with __int128_t
and __uint128_t the full range of operations available for standard integer
types is available. At least wasn't about a year ago. Also, I don't seem to
remember such types are supported on all the targets. Moreover, when I was
fiddling with numeric_limits, I remember Joseph pointing out the brittle status
(in terms of specs, support, etc) of the 128 bits integer types. Maybe this has
changed?