Inherits matador::di::strategy.
Public Member Functions | |
template<typename ... Args> | |
singleton_per_thread_strategy (Args &&...args) | |
void * | acquire () override |
Acquires an instance. | |
Public Member Functions inherited from matador::di::strategy | |
virtual | ~strategy ()=default |
|
inlineoverridevirtual |
Acquires an instance.
Acquires an instance based on the internal strategy and returns an anonymous pointer to the object
Implements matador::di::strategy.