Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::is_aggregate< T > Struct Template Reference

A Boolean metafunction that indicates whether a type requires aggregate initialization. More...

#include <traits.hpp>

Inheritance diagram for boost::proto::is_aggregate< T >:
Collaboration diagram for boost::proto::is_aggregate< T >:

Detailed Description

template<typename T>
struct boost::proto::is_aggregate< T >

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).


The documentation for this struct was generated from the following file: