Combined with the answers so far given, the lower bound can also be covered using unsigned int as the template type. Negative values, if applicable, will be converted to unsigned values โโhigh enough to be covered using static_assert or C ++ 11 preliminary solution.
unsigned int additionally already gives a semantically hint that negative values โโshould not be applied to this template, so it (maybe) should be preferred in a particular case ...
Aconcagua
source share