Boost logo

Boost :

From: Markus Schöpflin (schoepflin_at_[hidden])
Date: 2001-06-27 08:44:52


I hate to answer my own questions, but the moment I hit the send
button I found the answer.

> bool lic_check_license(const std::string &lic)
> {
> cmatch lic_matches;
>
> if (regex_match(lic, lic_matches, lic_syntax))
> {
> // ...
> }
> else
> {
> return false;
> }
> }

This problem is of course with cmatch. If I replace cmatch with
match_results<std::string::const_iterator> it compiles ok in both
debug and release build.

Sorry for the noise.
Markus


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