#pragma once #include "DI/container.hpp" #include "DI/interfaces/wrapper.hpp" #include template class FunctionWrapper : public IWrapper { public: explicit FunctionWrapper(Interface func) : _func(func) {} [[nodiscard]] Interface get() const; private: const Interface _func; }; #include "function_wrapper.tpp"