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

Function LessThanTest

Test/ConstExpr.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34{
35 template <typename T, typename U>
36 _CONSTEXPR11 bool LessThanTest()
37 {
38 return
39 (U)2 < SafeInt<T>(3) &&
40 SafeInt<T>(4) < (U)5 &&
41 SafeInt<T>(6) < SafeInt<U>(7);
42 }
43
44 template <typename T, typename U>
45 _CONSTEXPR11 bool GreaterThanTest()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected