Boost logo

Boost :

From: christian.engstrom_at_[hidden]
Date: 2001-11-27 07:56:42


--- In boost_at_y..., John Maddock <John_Maddock_at_c...> wrote:
 
> The iterator you pass to the function must be the same as the one
> for which the match_results structure is instantiated, otherwise
> the compiler will not find a matching function signature. It would
> be nice if the compiler would perform iterator -> const_iterator
> transformations automatically in a case like this, but that appears
> to be asking too much of the compiler.

Thank you for the answer, it seems to be working okay now.

Perhaps it would be useful if this was explicitly mentioned in future
versions of the documentation.


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