Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

is_list_constructible

template <class T, class... Args>
struct is_list_constructible : public true_type-or-false_type {};

Inherits: If T can be constructed from Args using list initialization (T{declval<Args>()...}), then inherits from true_type, otherwise inherits from false_type. T must be a complete type.

Compiler Compatibility: This trait requires C++11.

Header: #include <boost/type_traits/is_list_constructible.hpp> or #include <boost/type_traits.hpp>


PrevUpHomeNext