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

Function LessThanEqualTest

Test/ConstExpr.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53 template <typename T, typename U>
54 _CONSTEXPR11 bool LessThanEqualTest()
55 {
56 return
57 (U)2 <= SafeInt<T>(3) &&
58 SafeInt<T>(4) <= (U)5 &&
59 SafeInt<T>(6) <= SafeInt<U>(7);
60 }
61
62 template <typename T, typename U>
63 _CONSTEXPR11 bool GreaterThanEqualTest()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected