Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2003-10-22 06:39:13


> After some current development in gcc boost::regex stopped compiling
> for me. I have tried to find out if the error is in boost::regex or in
> the gcc c++ standard library.
>
> After what I read from 27.4.3.2 it seems that boost::regex is in error
> and that some assuption on operations on types is done, and that the
> libstdc++ breaks those assumptions.
>
> Especially the conversion of pos_type to streamsize. as far as I
> can read, cannot be assumed.
>
> Anyhow this patch is for boost 1.30.2 and I think it should be
> correct, please have a look at it and apply it if you find it correct.

I think you're right about pos_type, but I can't find many guarantees for
off_type either :-(

Whatever the patch works for me, so it'll be applied soon.

Thanks,

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk