Skip to content
Snippets Groups Projects

consequential use of OwningVector

Merged Wuttke, Joachim requested to merge da into main
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -29,7 +29,8 @@
@@ -29,7 +29,8 @@
//! Equips vector<unique_ptr<T>> with copy constructor.
//! Equips vector<unique_ptr<T>> with copy constructor.
//! For use with polymorphic objects, or in pimpl idiom.
//! For use with polymorphic objects, or in pimpl idiom.
//! The objects pointed to must posses a clone() function.
//! If the copy constructor or the copy assignment operator is used,
 
//! then there must be a function T::clone().
template <class T>
template <class T>
class OwningVector {
class OwningVector {
Loading