MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / swap

Function swap

crates/cpp/test_headers/expected.hpp:2438–2441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2436 std::is_move_constructible<E>::value &&
2437 detail::is_swappable<E>::value> * = nullptr>
2438void swap(expected<T, E> &lhs,
2439 expected<T, E> &rhs) noexcept(noexcept(lhs.swap(rhs))) {
2440 lhs.swap(rhs);
2441}
2442} // namespace tl
2443
2444#endif

Callers 6

expected.hppFile · 0.85
emitMethod · 0.85
emitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected