22 Jun
2010
22 Jun
'10
8:33 a.m.
Hello, How do you guys deal with boost.exceptions and wide-character strings? Currently, I convert, all wide-character strings are narrowed to their single-byte variants before passing them to boost::error_info tags. This however leads to a) partially unreadable strings: when narrowing a boost::filesystem::wpath to fit into a boost::errinfo_file_name b) potential throw from the narrowing code. c) calls narrowing code all around our code-basis. Best regards, Christoph