>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> I am not quite sure that is even possible. (completely that is.)
Lars> Especially since we have a lot of "foostring" code that will
Lars> have ascii as encoding... (char const *) Sure we could use
Lars> L"foostring" but that would give us something unknown...
Lars> (wchar_t const *), most ofthen unicode... but what kind? (UCS-2
Lars> or UCS-4)

Well, since these strings will be ascii, I would like to have
  docstring::operator=(char const *) 
and 
  operator==(docstring, char const *)

(and maybe the same with std::string)

These operator could assert on the fact that the strings are actually
ascii and not latinX.

And I agree that L"foo" is not what we want.

JMarc

Reply via email to