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

true when SmartPointer is shared_ptr<T> or unique_ptr<T>. More...

#include <StormByte/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>>
true when SmartPointer is shared_ptr<T> or unique_ptr<T>.
Definition clonable.hxx:36

Detailed Description

true when SmartPointer is shared_ptr<T> or unique_ptr<T>.

Template Parameters
SmartPointerCandidate pointer type.
TPointee type.