From d637f6dded833f33192a7366de5448fd83e9049c Mon Sep 17 00:00:00 2001 From: Alice2O3 <100117897+Alice2O3@users.noreply.github.com> Date: Sat, 10 Jun 2023 17:27:40 +0800 Subject: [PATCH] Fix typo of atomic-structure.md Fix typo of "atomic::operator|;=" to "atomic::operator|=" --- docs/standard-library/atomic-structure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/standard-library/atomic-structure.md b/docs/standard-library/atomic-structure.md index 03e99234bc7..9ee633323fe 100644 --- a/docs/standard-library/atomic-structure.md +++ b/docs/standard-library/atomic-structure.md @@ -250,7 +250,7 @@ The result of the bitwise "and" (`&`). This operator performs a read-modify-write operation to replace the stored value of **`*this`** with a bitwise "and" (`&`) of *`Value`* and the current value that is stored in **`*this`**, within the constraints of the `memory_order_seq_cst` [`memory_order`](atomic-enums.md). -## `atomic::operator|;=` +## `atomic::operator|=` Performs a bitwise "or" (`|`) on a specified value and the stored value of **`*this`**. Used only by integral specializations.