Skip to content

Commit 907c81c

Browse files
committed
Build towards proper exeption safety guarantees
We are required to preserve all already inserted elements whenever possible. Currently we would rewind everything that happened during one of operations on uninitialized memory. This allowed to handle keeping track of size changes separately. However, this is both error prone and also not possible with the basic exception guarantees.
1 parent 1152954 commit 907c81c

File tree

1 file changed

+249
-165
lines changed

1 file changed

+249
-165
lines changed

0 commit comments

Comments
 (0)