...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
template <class T>
struct is_complete : public true_type-or-false_type
{};
Inherits: If T
is a complete type then inherits from true_type,
otherwise inherits from false_type.
Important | |
---|---|
This trait is designed for one use only: to trigger a hard error (via a
|
Header: #include
<boost/type_traits/is_complete.hpp>
or #include <boost/type_traits.hpp>
Compiler Compatibility: Requires C++11 SFINAE-expressions
to function fully. The macro BOOST_TT_HAS_WORKING_IS_COMPLETE
is defined when the trait is fully functional.