Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost][exception] Wide-character design considerations
From: Rainer Deyke (rainerd_at_[hidden])
Date: 2010-06-22 13:11:04


On 6/22/2010 02:33, Christoph Heindl wrote:
> Hello,
>
> How do you guys deal with boost.exceptions and wide-character strings?

All my std::strings are utf-8. That fixes this problem:

> a) partially unreadable strings: when narrowing a
> boost::filesystem::wpath to fit into a boost::errinfo_file_name

And it reduces this problem to out-of-memory errors:

> b) potential throw from the narrowing code.

-- 
Rainer Deyke - rainerd_at_[hidden]

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