Boost logo

Boost Users :

From: Richard Reitmeyer (rreitmey_at_[hidden])
Date: 2004-08-16 18:51:06


Hello, all.

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?

Richard



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