StormByte C++ Library 1.2.0
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::DefaultConstructible Concept Reference

Type constructible from an empty initializer (T{} / T()). More...

#include <StormByte/type_traits/object_semantics.hxx>

Concept definition

template<typename T>
concept StormByte::Type::DefaultConstructible = std::is_default_constructible_v<T>
Type constructible from an empty initializer (T{} / T()).
Definition object_semantics.hxx:103

Detailed Description

Type constructible from an empty initializer (T{} / T()).

Template Parameters
TType to test.
template<Type::DefaultConstructible T>
T create() { return T{}; }