MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator !=

Method operator !=

code/mathematics/fraction.cpp:32–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 bool operator ==(const fraction<T>& other) const {
31 return n == other.n && d == other.d; }
32 bool operator !=(const fraction<T>& other) const {
33 return !(*this == other); } };
34// vim: cc=60 ts=2 sts=2 sw=2:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected