aboutsummaryrefslogtreecommitdiff
path: root/src/DI/object_wrapper.tpp
blob: 1811db86ac82eb826b5fcb0ce56131bb7a365fe8 (plain)
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);
}