|
|
@ -22,8 +22,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Overflow safe template for integers, i.e. integers that will never overflow
|
|
|
|
* Overflow safe template for integers, i.e. integers that will never overflow
|
|
|
|
* you multiply the maximum value with 2, or add 2, or subtract something from
|
|
|
|
* when you multiply the maximum value with 2, or add 2, or subtract something
|
|
|
|
* the minimum value, etc.
|
|
|
|
* from the minimum value, etc.
|
|
|
|
* @param T the type these integers are stored with.
|
|
|
|
* @param T the type these integers are stored with.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
template <class T>
|
|
|
|
template <class T>
|
|
|
|