"Alex Rønne Petersen" <xtzgzo...@gmail.com> wrote in message 
news:jjqn9f$1iht$1...@digitalmars.com...
>
> But then... why not just make it take a dstring? Maybe I'm not following 
> your intent here...
>

Probably because then this becomes an error:

string s = "abc";
func(s);

It's an interesting problem. I'm not aware of a solution. I suppose you'd 
just have to make it take only dstring and then expect string/wstring vars 
to be handled by the caller like "func(to!dstring(s))"


Reply via email to