From b36d072ad7a7b9c6e30fcb25d6bbb001a8393468 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 10 Apr 2022 17:20:49 +0200 Subject: refactor: add factory class & make DI container return unique ptrs --- src/DI/concepts.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DI/concepts.hpp') 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 template -concept Function = is_func_v; +concept Abstract = std::is_abstract_v; template -concept Abstract = std::is_abstract_v; +concept IsFactory = is_factory_v; -- cgit v1.2.3-18-g5258