header_utils
Loading...
Searching...
No Matches
ghassanpl::di Namespace Reference

Classes

struct  Container
 The container for implementations; used to request interfaces. More...

Concepts

concept  has_default_lifetime
 If the interface or implementation has a DefaultLifetime static member field, that specified lifetime will be used by default for that interface/implementation.

Enumerations

enum class  Lifetime {
  Lifetime::Default , Lifetime::Transient , Lifetime::InstanceSingleton , Lifetime::WeakSingleton ,
  Lifetime::ThreadSingleton
}
 Specifies the lifetime of an implementation. More...

Variables

constexpr DefaultImplementationStruct DefaultImplementation
 Used to specify an implementation is the default one for the interface being registered.

Detailed Description