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

Function SafeAddTest

Test/ConstExpr.cpp:363–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361
362 template <typename T, typename U>
363 _CONSTEXPR14 bool SafeAddTest()
364 {
365 U u = 2;
366 T result = 0;
367 return SafeAdd((T)3, u, result);
368 }
369
370 template <typename T, typename U>
371 void StaticAssertTU()

Callers

nothing calls this directly

Calls 1

SafeAddFunction · 0.50

Tested by

no test coverage detected