Already known, can be considered a feature request. #include <type_traits>
struct b { int b; b() = default; b(const b&) = delete; }; void test01() { typedef b test_type; typedef std::is_standard_layout<test_type> standard_layout_p; static_assert(standard_layout_p::value, "not standard_layout"); } -- Summary: type_trait: missing is_standard_layout Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bkoz at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37907