Loki
0.1.7
|
Encapsulate the object in a SmartPtr with FunctionStorage policy. More...
#include <SPCachedFactory.h>
Encapsulate the object in a SmartPtr with FunctionStorage policy.
The object will come back to the Cache as soon as no more SmartPtr are referencing this object. You can customize the SmartPointer with the standard SmartPtr policies (OwnershipPolicy, ConversionPolicy, CheckingPolicy, ConstnessPolicy) but StoragePolicy is forced to FunctionStorage.