Skip to content
Snippets Groups Projects
Commit 872c9d37 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: support emplace methods and std::unique_ptr for PtrList-derivatives

- emplace methods
  Eg,
      m.internalCoeffs().emplace(patchi, fc.size(), Zero);
  vs.
      m.internalCoeffs().set(patchi, new Field<Type>(fc.size(), Zero));

- handle insert/append of refPtr wherever tmp was already supported

COMP: incorrect variable names in PtrListOpsTemplates.C
parent 4110699d
Branches
Tags
No related merge requests found
Showing with 312 additions and 107 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment