1 2 3 4 5 6 7 8 9 10
#pragma once #include "object_wrapper.hpp" template <class Interface, class ObjectImpl> auto ObjectWrapper<Interface, ObjectImpl>::get() const noexcept -> std::unique_ptr<Interface> { return ObjectImpl::resolve(_container); }