Specifies that the type is POD (Plain Old Data) type. This means the type is compatible with the types used in the C programming language, can be manipulated using C library functions: it can be created with std::malloc
, it can be copied with std::memmove
, etc, and can be exchanged with C libraries directly, in its binary form.
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.
Either:
class
or struct
or union
) that is:
| (until C++11) |
| (since C++11) |
(C++11)
| checks if a type is plain-old data (POD) type (class template) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/concept/PODType