Skip to content

Commit

Permalink
Build towards proper exeption safety guarantees
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
miscco committed Jul 4, 2024
1 parent 1152954 commit a5e64cd
Showing 1 changed file with 259 additions and 165 deletions.
Loading

0 comments on commit a5e64cd

Please sign in to comment.