digitalmars.D - Re: Rename std.string.toStringz?
- Kagamin <spam here.lot> Jun 17 2011
- David Nadlinger <see klickverbot.at> Jun 17 2011
Daniel Gibson Wrote:This would be inconsistent with all other to implementations, as far as I know.
Inconsistency is the very reason for template specialization to exist.
Jun 17 2011
On 6/17/11 3:24 PM, Kagamin wrote:Daniel Gibson Wrote:This would be inconsistent with all other to implementations, as far as I know.
Inconsistency is the very reason for template specialization to exist.
No, it would be inconsistent from a user's point of view, since for all other types, to!Foo(xyz) returns a Foo, and not something else. David
Jun 17 2011