|
Sauce-0.10.1
A C++ Dependency Injection Framework
|
Public Member Functions | |
| template<typename Dependency > | |
| void | put (typename Key< Dependency >::Ptr pointer) |
| Insert a dependency into the cache. | |
| template<typename Dependency > | |
| bool | get (typename Key< Dependency >::Ptr &out) const |
| Probe the cache for a dependency. | |
|
inline |
Probe the cache for a dependency.
The return value indicates if a hit was found. On a hit, the out argument will be overwritten with the discovered value.
1.8.3