#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]] std::shared_ptr get() const override; private: const Container &_container; }; #include "object_wrapper.tpp"