[/ Copyright 2015 John Maddock. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ] [section:has_nothrow_destruct has_nothrow_destructor] template struct has_nothrow_destructor : public __tof {}; __inherit If T is a (possibly cv-qualified) type with a non-throwing destructor then inherits from __true_type, otherwise inherits from __false_type. Type `T` must be a complete type. __compat Either requires C++11 `noexcept` and `decltype` or else some (unspecified) help from the compiler. You may test to see if the necessary support is available by checking to see if `!defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_NOEXCEPT)` is true. __header ` #include ` or ` #include ` [note Note that destructors are assumed to be non-throwing unless they are explicitly marked otherwise with a `throw(something)` specification. This is in line with the C++11 standard. ] [endsect]