On 6/1/16 6:24 PM, Andrei Alexandrescu wrote:
On 06/01/2016 06:09 PM, ZombineDev wrote:
Deprecating front, popFront and empty for narrow
strings is what we are talking about here.
That will not happen. Walter and I consider the cost excessive and the
benefit too small.
If this doesn't happen, then all this push to change anything in Phobos
is completely wasted effort. As long as arrays aren't treated like
arrays, we will have to deal with auto-decoding.
You can change string literals to be something other than arrays, and
then we have a path forward. But as long as char[] is not an array, we
have lost the battle of sanity.
-Steve