MCPcopy Create free account
hub / github.com/dcleblanc/SafeInt / GreaterThanTest

Function GreaterThanTest

Test/ConstExpr.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44 template <typename T, typename U>
45 _CONSTEXPR11 bool GreaterThanTest()
46 {
47 return
48 (U)2 > SafeInt<T>(3) &&
49 SafeInt<T>(4) > (U)5 &&
50 SafeInt<T>(6) > SafeInt<U>(7);
51 }
52
53 template <typename T, typename U>
54 _CONSTEXPR11 bool LessThanEqualTest()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected