diff options
| author | HampusM <hampus@hampusmat.com> | 2022-04-10 17:20:49 +0200 | 
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:58 +0200 | 
| commit | b36d072ad7a7b9c6e30fcb25d6bbb001a8393468 (patch) | |
| tree | 7749fc877652bb2cf7bbd2b7c1fed5e3abe397fc /src/DI/concepts.hpp | |
| parent | b828d4799a84beb1afbd889e5c4cb939a8b3df78 (diff) | |
refactor: add factory class & make DI container return unique ptrs
Diffstat (limited to 'src/DI/concepts.hpp')
| -rw-r--r-- | src/DI/concepts.hpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DI/concepts.hpp b/src/DI/concepts.hpp index 12be546..4b2c7f9 100644 --- a/src/DI/concepts.hpp +++ b/src/DI/concepts.hpp @@ -5,7 +5,7 @@  #include <type_traits>  template <typename Type> -concept Function = is_func_v<Type>; +concept Abstract = std::is_abstract_v<Type>;  template <typename Type> -concept Abstract = std::is_abstract_v<Type>; +concept IsFactory = is_factory_v<Type>;  | 
