diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-28 19:33:20 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:53 +0200 |
commit | 522c446c801e62d360480744a6e89d91dd840c95 (patch) | |
tree | 9047fec4976051a4aa58e1209153bbe25c43e00c /src | |
parent | 4637b2dc86e69b15acf89d643a1534fb9e5ba31e (diff) |
refactor: delete commented code in DI container header
Diffstat (limited to 'src')
-rw-r--r-- | src/DI/container.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/DI/container.hpp b/src/DI/container.hpp index 2402894..6cb89ce 100644 --- a/src/DI/container.hpp +++ b/src/DI/container.hpp @@ -47,14 +47,6 @@ public: template <class Interface, class = std::enable_if_t<std::is_abstract_v<Interface>>> std::shared_ptr<Interface> get() const; - /* - template <typename Interface, - typename = std::enable_if_t< - !std::is_abstract_v<Interface> && - std::is_invocable_v<Interface, typename Interface::argument_type>>> - Interface get() const; - */ - template <typename Interface, typename = std::enable_if_t<is_func<Interface>::value>> Interface get() const; |