Sauce-0.10.1
A C++ Dependency Injection Framework
|
If a type requests injection of its own smart pointer, do so. More...
#include <sauce/internal/self_injector.h>
Public Member Functions | |
void | setSelf (Ptr ptr) |
If a type requests injection of its own smart pointer, do so.
A type requests self-injection by defining the RequestsSelfInjection typedef. If this typedef is present, void setSelf(sauce::weak_ptr<RequestsSelfInjection>) must be defined and will be passes a self weak pointer.