MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / swap

Function swap

deps/concurrentqueue/concurrentqueue.h:3713–3716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3711
3712template<typename T, typename Traits>
3713inline void swap(ConcurrentQueue<T, Traits>& a, ConcurrentQueue<T, Traits>& b) MOODYCAMEL_NOEXCEPT
3714{
3715 a.swap(b);
3716}
3717
3718inline void swap(ProducerToken& a, ProducerToken& b) MOODYCAMEL_NOEXCEPT
3719{

Callers 7

ProducerTokenClass · 0.70
swapMethod · 0.70
ConsumerTokenClass · 0.70
swapMethod · 0.70
ConcurrentQueueClass · 0.70
ImplicitProducerKVPClass · 0.70
swapMethod · 0.70

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected