home | help
std::experi...Destructible(3)  C++ Standard Libary std::experi...Destructible(3)

NAME
     std::experimental::ranges::Destructible   -  std::experimental::ranges::De-
     structible

Synopsis
	Defined in header <experimental/ranges/concepts>
	template<		   class		   T		       >
     (ranges TS)
	concept bool Destructible = std::is_nothrow_destructible<T>::value;

	The  concept  Destructible  specifies the concept of all types whose in-
     stances can
	safely be destroyed at the end of their  lifetime  (including  reference
     types).

	There  need  not be any subsumption relationship between Destructible<T>
     and
	std::is_nothrow_destructible<T>::value.

Notes
	Unlike the Destructible named requirement in the main C++ standard,  De-
     structible
	requires  the  destructor  to be noexcept(true), not merely non-throwing
     when invoked,
	and allows reference types and array types.

See also
	is_destructible
	is_trivially_destructible
	is_nothrow_destructible   checks if a type has a non-deleted destructor
	(C++11) 		  (class template)
	(C++11)
	(C++11)

http://cppreference.com 	   2024.06.10	   std::experi...Destructible(3)

home | help