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

Method operator >

code/mathematics/fraction.cpp:26–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 bool operator <=(const fraction<T>& other) const {
25 return !(other < *this); }
26 bool operator >(const fraction<T>& other) const {
27 return other < *this; }
28 bool operator >=(const fraction<T>& other) const {
29 return !(*this < other); }
30 bool operator ==(const fraction<T>& other) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected