MCPcopy Create free account
hub / github.com/ElementsProject/elements / swap

Method swap

src/prevector.h:461–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459 }
460
461 void swap(prevector<N, T, Size, Diff>& other) {
462 std::swap(_union, other._union);
463 std::swap(_size, other._size);
464 }
465
466 ~prevector() {
467 if (!std::is_trivially_destructible<T>::value) {

Callers 5

ActivateSnapshotMethod · 0.45
CBalanceCheckMethod · 0.45
reverse_lockMethod · 0.45
~reverse_lockMethod · 0.45
StopNodesMethod · 0.45

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected