

Public Types | |
| typedef shared_ptr< ParanoidObj > | PType |
Public Member Functions | |
| PType | operator() (uint param) |
| allowed to call ctor because it's a friend of ParanoidObj. | |
Static Protected Member Functions | |
| static void | destroy (ParanoidObj *victim) |
| custom deleter func is allowed to call ~ParanoidObj() because of friendship | |
Definition at line 153 of file factoryspecialtest.cpp.
| PType lumiera::test::Factory2::operator() | ( | uint | param | ) | [inline] |
Note passing custom deleter.
Definition at line 162 of file factoryspecialtest.cpp.
References destroy().
00162 { return PType (new ParanoidObj(param), &destroy); }

1.5.5