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