[Bug libstdc++/37907] New: type_trait: missing is_standard_layout
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 24 03:21:00 GMT 2008
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
More information about the Gcc-bugs
mailing list