Is this undefined behaviour even for unsigned types? That would be a bad surprise.
Not a member of The Register? Create a new account here.
Remember me on this computer? Post anonymously?