A Boolean metafunction that indicates whether a type requires aggregate initialization. More...
#include <traits.hpp>
A Boolean metafunction that indicates whether a type requires aggregate initialization.
is_aggregate<>
is used by the make<>
transform to determine how to construct an object of some type T
, given some initialization arguments a0,a1,...aN
. If is_aggregate<T>value
is true
, then an object of type T will be initialized as T t = {a0,a1,...aN};
. Otherwise, it will be initialized as T t(a0,a1,...aN)
.