| 5101 | { |
| 5102 | public: |
| 5103 | SafeInt() throw() |
| 5104 | { |
| 5105 | C_ASSERT( NumericType< T >::isInt ); |
| 5106 | m_int = 0; |
| 5107 | } |
| 5108 | |
| 5109 | // Having a constructor for every type of int |
| 5110 | // avoids having the compiler evade our checks when doing implicit casts - |
nothing calls this directly
no outgoing calls
no test coverage detected