feat(concept): add basic concepts and the corresponding testing

This commit is contained in:
2022-02-02 19:04:42 +08:00
parent a13b5832fc
commit a2847b8910
10 changed files with 277 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#pragma once
#include "CoreTypes.h"
#include "TypeTraits/TypeTraits.h"
NAMESPACE_REDCRAFT_BEGIN
NAMESPACE_MODULE_BEGIN(Redcraft)
NAMESPACE_MODULE_BEGIN(Utility)
template <typename T>
concept CDestructible = TIsDestructible<T>::Value;
NAMESPACE_MODULE_END(Utility)
NAMESPACE_MODULE_END(Redcraft)
NAMESPACE_REDCRAFT_END