Georg Baum <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
|
| > Yes, but we should perhaps use our own char_traits (as we have to on
| > older gcc and windos (??)) we should do this explicit instead of
| > through std::char_traits specialisation.
|
| Not on windows, the STL of VC++ is pretty good (as you would expect since it
| is from Dinkumware AFAIK).
|
| I am not sure whether using our own char_traits would be better. If there is
| no clear benefit I prefer to use the std version and adding missing
| specializations for older compilers. The latter will vanish in the future,
| so we have less code to maintain.
We have of course one other options:
On linux: char_type is wchar_t
docstring is wstring
On windows: char_type is uint32_t
docstring is basic_string<uint32_t>
Perhaps that is the easiest solution after all?
--
Lgb