if T is integral (1) | T fetch_add (T val, memory_order sync = memory_order_seq_cst) volatile noexcept;T fetch_add (T val, memory_order sync = memory_order_seq_cst) noexcept; |
---|---|
if T is pointer (2) | T fetch_add (ptrdiff_t val, memory_order sync = memory_order_seq_cst) volatile noexcept;T fetch_add (ptrdiff_t val, memory_order sync = memory_order_seq_cst) noexcept; |
bool
).enum
type memory_order.