| 18 | |
| 19 | template <typename T, typename U> |
| 20 | void TestCasts() |
| 21 | { |
| 22 | SafeInt<T> st; |
| 23 | U u = st; |
| 24 | bool b = st; |
| 25 | #if !defined SAFEINT_VS_VERSION |
| 26 | float f = st; |
| 27 | double d = st; |
| 28 | long double ld = st; |
| 29 | #endif |
| 30 | u++; |
| 31 | } |
| 32 | |
| 33 | template <typename T, typename U> |
| 34 | void TestConstructors() |
nothing calls this directly
no outgoing calls
no test coverage detected