Feature #6403
PtrVector should have emplace_back to better match the interface of vector<Ptr>
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/03/2014
Due date:
% Done:
0%
Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Description
PtrVector<T> lacks and emplace_back member; since its interface is intended to be similar to vector<Ptr<T>>, it would be best to have one.
History
#1 Updated by Christopher Green over 6 years ago
- Status changed from New to Rejected
Per the comment in source:art/Persistency/Common/PtrVector.h:
// No C++2011 emplace() due to problems associated with checking for // compatible ProductID.