Namespaces
Variants
Views
Actions

cpp/named req/StandardLayoutType

From cppreference.com
< cpp‎ | named req
Revision as of 05:02, 25 March 2012 by Bazzy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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