MCPcopy Create free account
hub / github.com/dcleblanc/SafeInt / operator %

Method operator %

Archive/releases/5/SafeInt_3013p.cpp:5431–5436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5429 // problems as comparisons, division and other operations
5430 template < typename U >
5431 SafeInt< T, E > operator %( U rhs ) const
5432 {
5433 T result;
5434 ModulusHelper< T, U, ValidComparison< T, U >::method >::template ModulusThrow< E >( m_int, rhs, result );
5435 return SafeInt< T, E >( result );
5436 }
5437
5438 SafeInt< T, E > operator %( SafeInt< T, E > rhs ) const
5439 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected