Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

Wednesday 17 October 2001 Arabica

More work on the string adaptor policy stuff. There's now a default_string_adaptor template, suitably specialized for std::string and std::wstring. The specializations automatically convert from UTF-8 to UTF-16 (or vice_versa) as appropriate which means you can do things like
expat_wrapper<std::string> parser_returning_UTF8;
expat_wrapper<std::wstring> parser_returning_UTF16;
or
msxml_wrapper<std::string> validating_parser_returning_UTF8;
msxml_wrapper<std::wstring> validating_parser_returning_UTF16;
expat_wrapper<stringT> is drop in replaceable with msxml_wrapper<stringT> naturally.
Tagged code, arabica, xml, and c++


Jez Higgins

Freelance software generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About