blob: a99d82b476fdd596d049a69d806d44b674ecb116 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#pragma once
#include "auto_wirable.hpp"
template <class Interface, class ObjectImpl, class... Dependencies>
std::shared_ptr<Interface> AutoWirable<Interface, ObjectImpl, Dependencies...>::resolve(
const Container &container) noexcept
{
return std::make_shared<ObjectImpl>(container.get<Dependencies>()...);
}
|