http://d.puremagic.com/issues/show_bug.cgi?id=8477
Jonathan M Davis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Jonathan M Davis <[email protected]> 2012-07-30 17:22:22 PDT --- > But toString needs to be implemented with some consistency in Phobos.. > Object.toString isn't const, but Throwable.toString is. What's it gonna be? We're going to move to a model where Object doesn't even _have_ toString on it. So, in the long run, the constancy of Object's toString is irrelevant, and since whether a particular type should have a const toString or not depends on the type and what it's doing, it's ultimately _not_ a question of consistency. I'd expect Throwable and its ilk to have a const toString in the long run. Whether it should be const right now or not, I don't know, since the issue with Object and its various functions is still being sorted out. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
