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

Method fetch_sub

tests/framework/src/doctest.cpp:370–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 }
369
370 T fetch_sub(T arg, std::memory_order order = std::memory_order_seq_cst) DOCTEST_NOEXCEPT {
371 return myAtomic().fetch_sub(arg, order);
372 }
373
374 operator T() const DOCTEST_NOEXCEPT { return load(); }
375

Callers 14

try_getMethod · 0.80
try_getMethod · 0.80
AfterUnlockFunction · 0.80
AfterUnlockSharedFunction · 0.80
decrementMethod · 0.80
postdecrementMethod · 0.80
subMethod · 0.80
postsubMethod · 0.80
releaseMethod · 0.80
weak_releaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected