MCPcopy Create free account
hub / github.com/KDE/kdevelop / swap

Method swap

kdevplatform/util/stack.h:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 using Base::Base;
38
39 inline void swap(Stack<T>& other)
40 {
41 // prevent Stack<->QVarLengthArray swaps
42 Base::swap(other);
43 }
44 inline void push(const T& t)
45 {
46 Base::append(t);

Callers 3

swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by 1