Tags: #operations #templates
Transactional operations made easy through lists of scope guards
https://tessil.github.io//2016/11/01/transactional-operations-scope-guard-list.html
Transactional operations made easy through lists of scope guards
https://tessil.github.io//2016/11/01/transactional-operations-scope-guard-list.html
tessil.github.io
Transactional operations made easy through lists of scope guards
The scope guard idiom is a popular idiom in C++. It provides a way to execute a function at the exit of a scope with the possibility of deactivation.