MCPcopy Create free account
hub / github.com/HelenOS/helenos / swap

Function swap

uspace/lib/cpp/include/__bits/string/string.hpp:1871–1876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1869
1870 template<class Char, class Traits, class Allocator>
1871 void swap(basic_string<Char, Traits, Allocator>& lhs,
1872 basic_string<Char, Traits, Allocator>& rhs)
1873 noexcept(noexcept(lhs.swap(rhs)))
1874 {
1875 lhs.swap(rhs);
1876 }
1877
1878 /**
1879 * 21.5, numeric conversions:

Callers 3

basic_stringClass · 0.70
swapMethod · 0.70
resize_with_copy_Method · 0.70

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected