MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / load

Method load

tests/framework/src/doctest.cpp:376–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 2

TestEventsMethod · 0.45
TestCallsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected