From: Benjamin R. <Ben...@ep...> - 2003-01-04 15:55:38
|
Hi Alex, "Alex Vinokur" <al...@co...> writes: > No, I want to use basic_string<string> , basic_string<int>, > basic_string<Any_Class> as well. The C++ specifiction only requires basic_string<char> and basic_string<wchar_t> to be implemented by the compiler. You should be able to implement basic_string<> on a POD ("plain old data") type like int, but you would have to implement your own char_traits<int> template specialization first (see the specification). basic_string<string> is not supported by C++ at all, because string itself is not POD. Hope this helps, benny |