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