cpp/named req/StandardLayoutType
From cppreference.com
Template:cpp/concept/title Template:cpp/concept/sidebar
StandardLayout classes are useful for communicating with code written in other programming languages.
Requirements
- All non-static members are and base classes are StandardLayout
- Has no virtual functions or base classes
- All non-static member have the same access control
- The first non-static member type is not a base class
See also
(C++11) |
checks if a type is a standard-layout type (class template) |