StormByte C++ Library 0.0.9999
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::TriviallyDestructible Concept Reference

Concept to check if a type has a trivial destructor. More...

#include <type_traits.hxx>

Concept definition

template<typename T>
concept StormByte::Type::TriviallyDestructible = std::is_trivially_destructible_v<T>
Concept to check if a type has a trivial destructor.
Definition type_traits.hxx:318

Detailed Description

Concept to check if a type has a trivial destructor.

Template Parameters
TType to check.

A type satisfies TriviallyDestructible if its destructor is trivial (no cleanup needed).

template<Type::TriviallyDestructible T>
void pool_allocate(T* ptr) { ... }