On Saturday, February 11, 2012 11:14:29 Martin Nowak wrote:
> deprecated alias newSymbol oldSymbol;
> 
> If we'd settle on using deprecated aliases we could avoid duplicated
> definitions.
> Even better we could teach the compiler to propose replacements for
> deprecated aliases.

I made newline an alias, but most of them can't be. std.string uses static 
arrays for all of its string constants, whereas std.ascii uses dynamic arrays. 
And while most of the other deprecations in std.string involve function 
renaming, they're templated functions, so alias doesn't work.

> Besides std.string.whitespace has no deprecation at all.

Fixed.

- Jonathan M Davis
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to