-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop double protecting writable vectors (#365)
* Stop double protecting writable vectors And fix memory leak when assigning a `writable::r_vector<T>&&` temporary value to an existing `writable::r_vector<T>`. * NEWS bullet * Add read only move constructor and move assignment operator * Add more assignment operator tests * Add some extra comments on read only vector from writable vector ctor * Slightly more explicit writable from read only lvalue ctor * Fix issue related to writable move constructor And add more related tests * Add extra test for capacity tracking * Add a test for the read only copy constructor from writable vectors * Tiny tweak
- Loading branch information
1 parent
6189417
commit df18ba2
Showing
12 changed files
with
448 additions
and
114 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
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
Oops, something went wrong.