![]() |
Home | Libraries | People | FAQ | More |
template <class T>
struct has_nothrow_assign : public true_type-or-false_type {};
Inherits: If T is a (possibly cv-qualified)
type with a non-throwing assignment-operator then inherits from true_type,
otherwise inherits from false_type.
Type T must be a complete
type.
Compiler Compatibility: Either a compiler
intrinsic (for example this is provided by Visual C++ 8 or later, plus all
GCC versions in C++11 mode), alternatively support for the C++11 noexcept feature.
Header: #include
<boost/type_traits/has_nothrow_assign.hpp>
or #include <boost/type_traits.hpp>