Re: [Boost-users] Re: Boost::Serialization Compile error and mytemporarysolution,
hello , Robert Ramey In the last lettler , I forgot to tell you the error info of compiler. The msvc71 said that "wchar_t const * " can't be converted to type "std::wstring::const_iterator" , at the file "xml_escape.hpp" line 47. in stlport 4.6.2 , "std::wstring::const_iterator" is "const wchar_t * "(so I was mazed by the error info! ),but in ms-stl(vc71) , "std::wstring::const_iterator" is a nested class in basic_string<>.I don't konw what does stl_port4.53 implemented wstring. Another thing is : when i copy the file "xml_woarchive.cpp" to a simple msvc porject and compile it alone , there is no any error occured , regardless whether stlport is used. I think this is because some macro are difference between jam and ide enviroment , but I'm not sure. Robert Ramey wrote:
Do you think the modified code is right ?
basically yes, it also eliminates a wcslen which is a good thing.
I don't unstandard this word. do you talk about Run-Time Library function wcslen() ? in my opinion , with stl string , this function has no use . goodmen@x263.net 2004-12-23
participants (1)
-
zhengyi