[all-commits] [llvm/llvm-project] 37e6bd: [libc++] Add a helper class to write code with the...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Dec 20 08:17:50 PST 2021
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2021-12-20 (Mon, 20 Dec 2021)
[libc++] Add a helper class to write code with the strong exception guarantee
__transaction is a helper class that allows rolling back code in case an
exception is thrown. The main goal is to reduce the clutter when code
needs to be guarded with `#if _LIBCPP_NO_EXCEPTIONS`.
Differential Revision: https://reviews.llvm.org/D115730
More information about the All-commits