Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ActivateSnapshot
Method · 0.45
CBalanceCheck
Method · 0.45
reverse_lock
Method · 0.45
~reverse_lock
Method · 0.45
StopNodes
Method · 0.45
Calls
1
swap
Function · 0.85
Tested by
no test coverage detected