diff options
Diffstat (limited to 'src/DI/concepts.hpp')
-rw-r--r-- | src/DI/concepts.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/DI/concepts.hpp b/src/DI/concepts.hpp new file mode 100644 index 0000000..12be546 --- /dev/null +++ b/src/DI/concepts.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include "type_traits.hpp" + +#include <type_traits> + +template <typename Type> +concept Function = is_func_v<Type>; + +template <typename Type> +concept Abstract = std::is_abstract_v<Type>; |