MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / swap

Method swap

extlibs/catch/include/catch/catch.hpp:13275–13279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13273 }
13274
13275 void StringRef::swap( StringRef& other ) noexcept {
13276 std::swap( m_start, other.m_start );
13277 std::swap( m_size, other.m_size );
13278 std::swap( m_data, other.m_data );
13279 }
13280
13281 auto StringRef::c_str() const -> char const* {
13282 if( !isSubstring() )

Callers 3

removeMethod · 0.45
testGroupEndedMethod · 0.45
testRunEndedMethod · 0.45

Calls 1

swapFunction · 0.50

Tested by

no test coverage detected