Integration of SmartPointer encapsulation policy for CachedFactory.
Once the smart pointer goes out of scope, the object is automatically returned to the Cache. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@792 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
97e1fd6b59
commit
10f1b011c6
3 changed files with 201 additions and 2 deletions
|
@ -669,8 +669,9 @@ namespace Loki
|
|||
typedef typename Impl::Parm14 Parm14;
|
||||
typedef typename Impl::Parm15 Parm15;
|
||||
|
||||
public:
|
||||
typedef typename NP::ProductReturn ProductReturn;
|
||||
|
||||
private:
|
||||
typedef Key< Impl, IdentifierType > Key;
|
||||
typedef std::map< Key, ObjVector > KeyToObjVectorMap;
|
||||
typedef std::map< AbstractProduct*, Key > FetchedObjToKeyMap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue