void addResource( SP sp ) { if( resources_.find( sp.getObject() ) == resources_.end() ) new SmartPointerCache<SP>( sp ); }
SmartPointerCache( SP sp ) : CachedResource( sp.getObject() ), sp_( sp ) {}