StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Safe::ValidSmartPointer Concept Reference

true when SmartPointer is StormByte::Safe::Shared<T> or StormByte::Safe::Unique<T>. More...

#include <StormByte/safe/clonable.hxx>

Concept definition

template<typename SmartPointer, typename T>
true when SmartPointer is StormByte::Safe::Shared<T> or StormByte::Safe::Unique<T>.
Definition clonable.hxx:67
Same type after stripping cv and references from both sides.
Definition relations.hxx:94

Detailed Description

true when SmartPointer is StormByte::Safe::Shared<T> or StormByte::Safe::Unique<T>.

Template Parameters
SmartPointerCandidate pointer type.
TPointee type.

std::shared_ptr<T> and std::unique_ptr<T> are not accepted.