StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Type::Destructible Concept Reference

Type that can be destroyed. More...

#include <StormByte/type_traits/object_semantics.hxx>

Concept definition

template<typename T>
concept StormByte::Type::Destructible = std::is_destructible_v<T>
Type that can be destroyed.
Definition object_semantics.hxx:342

Detailed Description

Type that can be destroyed.

Template Parameters
TType to test.

Not StormByte::Type::TriviallyDestructible. A user-provided destructor matches here.

template<Type::Destructible T>
void release(T* object) { object->~T(); }