Expand Minimize

is_standard_layout Class

Tests if type is a standard layout.

template<class Ty>
    struct is_standard_layout;

Parameter

Description

Ty

The type to query

An instance of this type predicate holds true if the type Ty is a class that has a standard layout of member objects in memory, otherwise it holds false.

Header: <type_traits>

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft