VCCC  2024.05
VisualCamp Common C++ library
destructible< T > Struct Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__concepts/destructible.hpp>

+ Inheritance diagram for destructible< T >:

Detailed Description

template<typename T>
struct vccc::destructible< T >

template<typename T>
struct destructible : std::is_nothrow_destructible<T> {};

The concept destructible specifies the concept of all types whose instances can safely be destroyed at the end of their lifetime (including reference types).

Notes

Unlike the Destructible named requirement, vccc::destructible requires the destructor to be noexcept(true), not merely non-throwing when invoked, and allows reference types and array types.

See also
std::destructible

The documentation for this struct was generated from the following file: