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.
(The tokens are internally stored as an std::multimap<int, string>.)