Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boost::ptr_vector -> std::vector<unique_ptr>
boost::ptr_vector has some nice features, but vector<unique_ptr> is still easier to use for most people basicially becasue people know it better. Also boost::ptr_vector does not support move ctors and also does not use std::unique_ptr, probably because it tries to stay compatible with c++03 so one has to use 'ptr_vector::auto_type' with it instead which has a different interface than std::unique_ptr
- Loading branch information
Showing
2 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters