C++ concepts: StandardLayoutType

< cpp‎ | concept
Revision as of 14:49, 2 November 2012 by P12bot (Talk | contribs)


Specifies that a type is standard layout type. Standard layout type are useful for communicating with code written in other programming languages.

Note, that the standard doesn't define a named requirement or concept with this name. This is a type category defined by the core language. It is included here as concept only for consistency.


  • All non-static members are and base classes are standard layout types (meets the requirements of StandardLayoutType
  • Has no virtual functions or virtual base classes
  • All non-static member have the same access control
  • The first non-static member type is not a base class

See also

checks if a type is standard-layout type
(class template) [edit]