Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-10-09 04:48:48


boost_at_[hidden] wrote:
> Hi, I'm having a lot of trouble with boost::regexp and locales, even
> trying to change it makes the program fail.
>
> Can anybody help?

Yikes, you must set the locale before you assign a regex: calling imbue
invalidates the object.

John.


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