Splitter.opSlice(), ranges and const strings
Steven Schveighoffer
schveiguy at yahoo.com
Thu Feb 24 07:04:24 PST 2011
On Thu, 24 Feb 2011 09:13:20 -0500, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> The issue is not so much that the range is const or immutable, but that
> splitter uses IFTI to determine the parameter type. If splitter could
> use the tail-* version of itself when its argument was fully const or
> fully immutable, then it would work.
Also see a proposal I made to fix IFTI to allow directing its type
determinations for literals (could probably be expanded to implicit
conversions too):
http://d.puremagic.com/issues/show_bug.cgi?id=4998
-Steve
More information about the Digitalmars-d-learn
mailing list