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

Function EqualTest

Test/ConstExpr.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71 template <typename T, typename U>
72 _CONSTEXPR11 bool EqualTest()
73 {
74 return
75 (U)2 == SafeInt<T>(3) &&
76 SafeInt<T>(4) == (U)5 &&
77 SafeInt<T>(6) == SafeInt<U>(7) &&
78 true == SafeInt<T>(1) &&
79 false == SafeInt<T>(0);
80 }
81
82 template <typename T, typename U>
83 _CONSTEXPR11 bool NotEqualTest()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected