Boost logo

Boost Users :

Subject: [Boost-users] [boost][exception] Wide-character design considerations
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2010-06-22 04:33:52


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net