string is rarely useful as a function argument
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri Dec 30 16:12:38 PST 2011
On 12/30/11 6:07 PM, Timon Gehr wrote:
> alias std.string.representation raw;
I meant your implementation is incomplete.
But the main point is that presence of representation/raw is not the
issue. The availability of good-for-nothing .length and operator[] are
the issue. Putting in place the convention of using .raw is hardly
useful within the context.
Andrei
More information about the Digitalmars-d
mailing list