# C++ keyword: transaction_safe (TM TS)

> C++ Atlas: `cppatlas.com/w/cpp/keyword/transaction_safe` | Source: https://en.cppreference.com/w/cpp/keyword/transaction_safe | Domain: Keywords

## Official Specification Summary (cppreference)

### Usage

- Indicates that a function is *transaction-safe* (TM TS)

### References

- Transactional Memory TS (ISO/IEC TS 19841:2015):

  - 8.4.4 Transaction-safe function definitions [dcl.fct.def.tx]

### See also

- [`atomic_cancel`](https://en.cppreference.com/w/cpp/keyword/atomic_cancel) (TM TS)
- [`atomic_commit`](https://en.cppreference.com/w/cpp/keyword/atomic_commit) (TM TS)
- [`atomic_noexcept`](https://en.cppreference.com/w/cpp/keyword/atomic_noexcept) (TM TS)
- [`synchronized`](https://en.cppreference.com/w/cpp/keyword/synchronized) (TM TS)
- [`transaction_safe_dynamic`](https://en.cppreference.com/w/cpp/keyword/transaction_safe_dynamic) (TM TS)

---
Attribution: content from https://en.cppreference.com/w/cpp/keyword/transaction_safe (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.