header_utils
Loading...
Searching...
No Matches
ghassanpl::di::has_default_lifetime Concept Reference

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

#include <di.h>

Concept definition

template<typename T>
concept has_default_lifetime = requires { { T::DefaultLifetime } -> std::convertible_to<Lifetime>; }
If the interface or implementation has a DefaultLifetime static member field, that specified lifetime...
Definition di.h:189

Detailed Description

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

Definition at line 189 of file di.h.