Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

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

NAME
       std::experimental::ranges::Destructible	      -	       std::experimen-
       tal::ranges::Destructible

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
       instances can
	  safely be destroyed at the end of their lifetime  (including	refer-
       ence types).

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

Notes
	  Unlike the Destructible named	requirement in the main	C++  standard,
       Destructible
	  requires  the	destructor to be noexcept(true), not merely non-throw-
       ing 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  de-
       structor
	  (C++11)		    (class template)
	  (C++11)
	  (C++11)

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

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::ranges::Destructible&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help