matador::di::proxy< I > Class Template Reference
module module_

Inherits matador::di::proxy_base.

Public Member Functions

template<typename T , typename ... Args, typename std::enable_if< std::is_base_of< I, T >::value >::type * = nullptr>
void to (Args &&...args)
 
template<typename T >
void to_instance (T &&obj)
 
template<typename T , typename ... Args, typename std::enable_if< std::is_base_of< I, T >::value >::type * = nullptr>
void to_singleton (Args &&...args)
 
template<typename T , typename ... Args, typename std::enable_if< std::is_base_of< I, T >::value >::type * = nullptr>
void to_singleton_per_thread (Args &&...args)
 
- Public Member Functions inherited from matador::di::proxy_base
template<typename T >
T * get () const
 

Additional Inherited Members

- Protected Member Functions inherited from matador::di::proxy_base
void initialize_strategy (std::unique_ptr< strategy > &&strategy)
 

The documentation for this class was generated from the following file:
  • matador/utils/di.hpp