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