MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / swap

Method swap

common/expr.h:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 void set_test_only(bool test_only) { test_only_ = test_only; }
222
223 friend void swap(SelectExpr& lhs, SelectExpr& rhs) noexcept {
224 using std::swap;
225 swap(lhs.operand_, rhs.operand_);
226 swap(lhs.field_, rhs.field_);
227 swap(lhs.test_only_, rhs.test_only_);
228 }
229
230 private:
231 friend class Expr;

Callers

nothing calls this directly

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected