On 7/4/2011 12:48 PM, bearophile wrote:
In this case you wrap the code in something that allows it to overflow without errors, like:unsafe(overflows) { // code here }
Regardless of the merits of doing overflow checks, this is the completely wrong way to go about it.
This must be a property of the type, not of its usage. It gets semantically pretty wacky when you have function calls for "code here".