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/extra_concepts.hpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/DI/extra_concepts.hpp (limited to 'src/DI/extra_concepts.hpp') diff --git a/src/DI/extra_concepts.hpp b/src/DI/extra_concepts.hpp new file mode 100644 index 0000000..45180c6 --- /dev/null +++ b/src/DI/extra_concepts.hpp @@ -0,0 +1,6 @@ +#pragma once + +#include + +template +concept NotSameAs = !std::is_same_v; -- cgit v1.2.3-18-g5258