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

Function NotEqualTest

Test/ConstExpr.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82 template <typename T, typename U>
83 _CONSTEXPR11 bool NotEqualTest()
84 {
85 return
86 (U)2 != SafeInt<T>(3) &&
87 SafeInt<T>(4) != (U)5 &&
88 SafeInt<T>(6) != SafeInt<U>(7) &&
89 true != SafeInt<T>(1) &&
90 false != SafeInt<T>(0);
91 }
92
93 template <typename T, typename U>
94 void ComparisonTestTU()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected