
Rogier van Dalen <rogiervd@gmail.com> writes:
namespace unicode { struct range { enum type { latin1_supplement, latin_extended_a, latin_extended_a, ipa_extensions, // ... } }; } Yes - it should be namespaced - I had omitted it for clarity. I still think that the uni prefix might be useful to remind those programmers using 'using unicode' that these are Unicode functions - but I am happy to lose that argument.
...
Oops - caught - I was attempting to write it in such a way that it could be used from C as well as C++ - hence BOOL not bool. DWORD is actually uint32_t. I know, but - correct me if I'm wrong - I think the sort keys consist of 16-bit integers.
Rogier and Graham, Please try to leave a space between the text you quote and your reply, so that your very important discussion has the impact it deserves. http://www.boost.org/more/discussion_policy.htm#effective -- Dave Abrahams Boost Consulting www.boost-consulting.com