summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/Domain.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/NeKit/Domain.h')
-rw-r--r--src/kernel/NeKit/Domain.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/kernel/NeKit/Domain.h b/src/kernel/NeKit/Domain.h
index cda63ee9..376fd9d5 100644
--- a/src/kernel/NeKit/Domain.h
+++ b/src/kernel/NeKit/Domain.h
@@ -14,6 +14,9 @@ template <class Type>
struct IsDefined final {
using ResultType = Type;
using ResultTypeRef = Type&;
+ using TypeRef = ResultTypeRef;
+ using ConstType = const Type&;
+ using TypePtr = Type*;
static constexpr bool kValue = true;
};
@@ -27,11 +30,6 @@ using NullDomain = IsDefined<nullPtr>;
template <class Type>
using Domain = IsDefined<Type>;
-
-template <class Type>
-concept IsAcceptable = requires() {
- { IsDefined<Type>::kValue };
-};
} // namespace Kernel
#endif // !__NE_KIT_DOMAIN_H__ \ No newline at end of file