MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / operator+

Method operator+

edrav2/eprj/boost/libs/python/test/operators.cpp:35–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34 X(int x) : base_t(x) {}
35 X const operator+(X const& r) const { return X(value() + r.value()); }
36
37// typedef int (X::*safe_bool)() const;
38// operator safe_bool() const { return value() != 0 ? &X::value : 0; }

Callers

nothing calls this directly

Calls 3

XClass · 0.70
valueClass · 0.50
valueMethod · 0.45

Tested by

no test coverage detected