On Friday, 26 July 2013 at 12:16:02 UTC, bearophile wrote:
Ali Çehreli:
I agree. I would expect copy to maintain the same type.
http://d.puremagic.com/issues/show_bug.cgi?id=10718
Bye,
bearophile
I reacted to your bug entry. I don't think copy's behavior should
be *changed*. That would violate the entire "a string is a range
of dchar" thing.
However, copy could be improved with the knowledge that a dchar
can be streamed into a series of chars (EG, the way an
appender!(char[]) can handle taking a dchar), and improved to
handle cases it didn't handle before.