| 374 | operator T() const DOCTEST_NOEXCEPT { return load(); } |
| 375 | |
| 376 | T load(std::memory_order order = std::memory_order_seq_cst) const DOCTEST_NOEXCEPT { |
| 377 | auto result = T(); |
| 378 | for(auto const& c : m_atomics) { |
| 379 | result += c.atomic.load(order); |
| 380 | } |
| 381 | return result; |
| 382 | } |
| 383 | |
| 384 | T operator=(T desired) DOCTEST_NOEXCEPT { // lgtm [cpp/assignment-does-not-return-this] |
| 385 | store(desired); |
no outgoing calls
no test coverage detected