forked from boostorg/type_traits
Improve is_pod docs.
[SVN r32412]
This commit is contained in:
@ -2200,7 +2200,16 @@ expression that evaluates to /false/: void is not an object type]
|
||||
__inherit If T is a (possibly cv-qualified) POD type then inherits from __true_type,
|
||||
otherwise inherits from __false_type.
|
||||
|
||||
__std_ref 3.9p10 and 9p4.
|
||||
POD stands for "Plain old data".
|
||||
Arithmetic types, and enumeration types,
|
||||
a pointers and pointer to members are all PODs. Classes and unions can also
|
||||
be POD's if they have no non-static data members that are of reference or
|
||||
non-POD type, no user defined constructors, no user defined assignment
|
||||
operators, no private or protected non-static data members,
|
||||
no virtual functions and no base classes. Finally, a cv-qualified POD is
|
||||
still a POD, as is an array of PODs.
|
||||
|
||||
__std_ref 3.9p10 and 9p4 (Note that POD's are also aggregates, see 8.5.1).
|
||||
|
||||
__compat If the compiler does not support partial-specialization
|
||||
of class templates, then this template can not be used with function types.
|
||||
|
Reference in New Issue
Block a user