Project

General

Profile

Feature #6403

PtrVector should have emplace_back to better match the interface of vector<Ptr>

Added by Marc Paterno over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/03/2014
Due date:
% Done:

0%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

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 5 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.



Also available in: Atom PDF