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::ValidSmartPointer Concept Reference

Concept to check if a type is a valid smart pointer. More...

#include <clonable.hxx>

Concept definition

template<typename SmartPointer, typename T>
std::same_as<SmartPointer, std::shared_ptr<T>> ||
std::same_as<SmartPointer, std::unique_ptr<T>>
Concept to check if a type is a valid smart pointer.
Definition clonable.hxx:20

Detailed Description

Concept to check if a type is a valid smart pointer.

Template Parameters
SmartPointersmart pointer type
Ttype