is_standard_layout Class
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at is_standard_layout Class.
Tests if type is a standard layout.
template <class Ty> struct is_standard_layout;
Parameters
| 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
Show: