BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
A vector of unique pointers to objects that are cloneable. More...
Public Member Functions | |
CloneableVector (const CloneableVector &other) | |
void | push_back (T *t) |
void | emplace_back (std::unique_ptr< T > &&t) |
A vector of unique pointers to objects that are cloneable.
Equips vector<unique_ptr<T>> with copy constructor. For use with polymorphic objects, or in pimpl idiom. The objects pointed to must posses a clone() function.
Definition at line 30 of file CloneableVector.h.