Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ swap
Method
swap
dlib/smart_pointers/shared_ptr_thread_safe.h:356–360 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
354
) const { return get() != 0; }
355
356
void swap(shared_ptr_thread_safe& b)
357
{
358
std::swap(data, b.data);
359
std::swap(shared_node, b.shared_node);
360
}
361
362
template <typename D>
363
D* _get_deleter(
Callers
3
shared_ptr_thread_safe
Class · 0.45
reset
Method · 0.45
swap
Function · 0.45
Calls
1
swap
Function · 0.70
Tested by
no test coverage detected