const?? When and why? This is ugly!

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Mar 9 07:21:18 PDT 2009


Don wrote:
> Andrei Alexandrescu wrote:
>> As far as signatures of functions in std.string, I agree that those 
>> not needing a string of immutable characters should just accept in 
>> Char[] (where Char is one of the three character types). That should 
>> make people using mutable and immutable strings equally joyous.
> 
> Also std.conv (especially the scheduled-to-be-deprecated toInt(), etc),
> and probably also the functions in std.file, such as exists().

Yah. That's fixed already, but I concluded I can't check in my changes 
to phobos until a few bugs are fixed, notably 2674 
(http://d.puremagic.com/issues/show_bug.cgi?id=2674). Please vote up :o).


Andrei



More information about the Digitalmars-d mailing list