MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / swap

Method swap

tests/gtest/gtest-all.cc:2489–2493  ·  view source on GitHub ↗

Swaps two AssertionResults.

Source from the content-addressed store, hash-verified

2487
2488// Swaps two AssertionResults.
2489void AssertionResult::swap(AssertionResult& other) {
2490 using std::swap;
2491 swap(success_, other.success_);
2492 swap(message_, other.message_);
2493}
2494
2495// Returns the assertion's negation. Used with EXPECT/ASSERT_FALSE.
2496AssertionResult AssertionResult::operator!() const {

Callers 2

SplitStringFunction · 0.45
PushTraceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected