I agree. What about shared? "Walter Bright" <[email protected]> wrote in message news:[email protected]... > These all need to be: > > const pure nothrow @safe > > Unless this is done, the utility of const, pure, nothrow and @safe is > rather crippled. > > Any reason why they shouldn't be? > > One reason is memoization, aka lazy initialization, aka logical const. I > don't believe these are worth it. If you must do it inside those functions > (and functions that override them), you're on your own to make it work > right (use unsafe casts, etc.).
- Object.opEquals, opCmp, toHash Walter Bright
- Re: Object.opEquals, opCmp, toHash Jonathan M Davis
- Re: Object.opEquals, opCmp, toHash Daniel Murphy
- Re: Object.opEquals, opCmp, toHash Jonathan M Davis
- Re: Object.opEquals, opCmp, toHash Walter Bright
- Re: Object.opEquals, opCmp, toHash Daniel Murphy
- Re: Object.opEquals, opCmp, toHash deadalnix
- Re: Object.opEquals, opCmp, toHash Walter Bright
- Re: Object.opEquals, opCmp, toHash Don Clugston
- Re: Object.opEquals, opCmp, toHash Walter Bright
- Re: Object.opEquals, opCmp, toHash Don Clugston
- Re: Object.opEquals, opCmp, toHash Stewart Gordon
- Re: Object.opEquals, opCmp, toHash bearophile
