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

Function SafeDivideTest

Test/ConstExpr.cpp:355–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354 template <typename T, typename U>
355 _CONSTEXPR14 bool SafeDivideTest()
356 {
357 U u = 2;
358 T result = 0;
359 return SafeDivide((T)3, u, result);
360 }
361
362 template <typename T, typename U>
363 _CONSTEXPR14 bool SafeAddTest()

Callers

nothing calls this directly

Calls 1

SafeDivideFunction · 0.50

Tested by

no test coverage detected