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

Function SafeCastTest

Test/ConstExpr.cpp:332–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330
331 template <typename T, typename U>
332 _CONSTEXPR14 bool SafeCastTest()
333 {
334 U to = 0;
335 return SafeCast((T)3, to);
336 }
337
338 template <typename T, typename U>
339 _CONSTEXPR14 bool SafeModulusTest()

Callers

nothing calls this directly

Calls 1

SafeCastFunction · 0.50

Tested by

no test coverage detected