|
Boost Users : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-01 10:57:11
Russell Hind wrote:
> Vladimir Prus wrote:
>>
>> I have tried to explain this in great detail. Let me rephrase again:
>> neither template not define is really attractive when used in a library
>> interface.
>>
>
> Maybe I'm missing something, but couldn't it be like std::string and
> std::wstring?
I think std::string and std::wstring have exactly the same drawbacks. On a
library interface (when the library is compiled one, not-header only), you
have to use either string of wstring. If there were single std::string
which supported wide characters, there would be no choice, and most C++
libraries were at last half-ready for Unicode.
As an example, there are two environment with a single string type: Qt and
Java, and in both there's no issue of Unicode any more, AFAICT.
- Volodya
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net