perf(templates): add requires on the content of TOptional and TVariant
This commit is contained in:
@ -9,7 +9,7 @@ NAMESPACE_REDCRAFT_BEGIN
|
||||
NAMESPACE_MODULE_BEGIN(Redcraft)
|
||||
NAMESPACE_MODULE_BEGIN(Utility)
|
||||
|
||||
template <typename OptionalType>
|
||||
template <typename OptionalType> requires (TIsObject<OptionalType>::Value && !TIsArray<OptionalType>::Value&& TIsDestructible<OptionalType>::Value)
|
||||
struct TOptional
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user