|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2004-08-17 07:32:32
> The regex library is extremely helpful: thanks for all your efforts.
>
> I've got a problem with gcc and stlport and boost: when I try
> to get a submatch on other platforms, I can take my match object, m,
> and do things like
>
> m[n].str(); // works great elsewhere
>
> But with gcc / stlport, with BOOST_NO_STD_ALLOCATOR not defined,
> the const_reference type is defined as Allocator::const_reference
> (which is `const char'), rather than sub_match<BidiIterator>.
> So operator[] gives me a char, and life isn't so good.
>
> Any hints as to where I went astray?
Works for me (with Boost-1.31.0 + latest patches), what version are you
using?
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