This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/37907] [c++0x] support for std::is_standard_layout
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2009 20:35:01 -0000
- Subject: [Bug libstdc++/37907] [c++0x] support for std::is_standard_layout
- References: <bug-37907-365@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from bkoz at gcc dot gnu dot org 2009-01-28 20:35 -------
Adjust summary, change to enhancement.
I would really like to use std::is_standard_layout in the testsuite, so that
these requirements for <cstdatomic>, <mutex>, and <condition_variable> can be
validated for libstdc++ sources. The requirements/limitations for standard
layout types limits some designs, like derived mutexes. Tracking it in the
testsuite would be optimal.
I don't see a way to use existing C++0x type_traits to accomplish the same
thing.
--
bkoz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
Severity|normal |enhancement
Summary|type_trait: missing |[c++0x] support for
|is_standard_layout |std::is_standard_layout
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37907