Michel Fortin wrote:
That one is easy to fix. Add a "signed(x)" template function returning the signed counterpart of x. You could even insert a runtime range check if you really wanted to.

Yes, I mentioned that at the end of that post, and the reasons why it is not very appealing.

Reply via email to