Boost logo

Boost Users :

From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2005-07-01 12:48:25


On 7/1/05, John Maddock <john_at_[hidden]> wrote:
> > Should an empty boost::regex raise a 'bad expression' exception when
> > you assign it to another boost::regex object? It seems to me that an
> > empty expression can't be bad - it hasn't had the chance to be good OR
> > bad yet :-)
>
> It's basically a bug : and it's fixed in 1.33. Copying will also be a lot
> less expensive in 1.33 since it uses copy-on-write.
>
> John.

Cool - thanks!

Stuart


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