MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / operator >

Function operator >

olcPixelGameEngine.h:908–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906
907 template<class TL, class TR>
908 inline constexpr bool operator > (const v_2d<TL>& lhs, const v_2d<TR>& rhs)
909 {
910 return (lhs.y > rhs.y) || (lhs.y == rhs.y && lhs.x > rhs.x);
911 }
912
913 // Allow olc::v_2d to play nicely with std::cout
914 template<class T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected