#pragma once #include "DI/container.hpp" #include "DI/interfaces/wrapper.hpp" #include template class ObjectWrapper : public IWrapper> { public: explicit ObjectWrapper(const Container &container) noexcept : _container(container) {} [[nodiscard]] auto get() const noexcept -> std::unique_ptr override; private: const Container &_container; }; #include "object_wrapper.tpp"