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

Function SafeAdd

Archive/releases/5/SafeInt_3013p.cpp:5085–5088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5083
5084template < typename T, typename U >
5085inline bool SafeAdd( T t, U u, T& result ) throw()
5086{
5087 return AdditionHelper< T, U, AdditionMethod< T, U >::method >::Addition( t, u, result );
5088}
5089
5090template < typename T, typename U >
5091inline bool SafeSubtract( T t, U u, T& result ) throw()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected