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

Function operator -=

olcPixelGameEngine.h:894–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892
893 template<class TL, class TR>
894 inline constexpr auto operator -= (v_2d<TL>& lhs, const TR& rhs)
895 {
896 lhs = lhs - rhs;
897 return lhs;
898 }
899
900 // Greater/Less-Than Operator overloads - mathematically useless, but handy for "sorted" container storage
901 template<class TL, class TR>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected