-
Wide char support/STL.
I have a generic lexical scanner class that I want to add wchar support for. What are some approaches that may be used to seamlessly incorporate this into the object's behaviour? Also, aren't there several types of unicode that must be accounted for in order to be fully compliant?
Thanks in advance.
[edit]
(The tokens are internally stored as an std::multimap<int, string>.)
[/edit]
-
>What are some approaches that may be used to seamlessly incorporate this into the object's behaviour?
Commercials don't lie, wider is better. *cough*wstring in <string>*cough* Oh, excuse me...must be coming down with something. It is getting into the cold and flu season around here you know. :)