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

Function SafeMultiplyTest

Test/ConstExpr.cpp:347–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345
346 template <typename T, typename U>
347 _CONSTEXPR14 bool SafeMultiplyTest()
348 {
349 U u = 2;
350 T result = 0;
351 return SafeMultiply((T)3, u, result);
352 }
353
354 template <typename T, typename U>
355 _CONSTEXPR14 bool SafeDivideTest()

Callers

nothing calls this directly

Calls 1

SafeMultiplyFunction · 0.50

Tested by

no test coverage detected