Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2008-04-05 08:16:06


Dear all,

Peter Becker's book 'the c++ standard library extensions' describes various
tr1::regex constructors. One of them is the following (16.4.2, p.387):

char expr1[] = "abc[d-f]";
regex rgx2(expr1, 3);

>From the boost headers I can see that it picks up the wrong costructor, since
the constructor with length specification has 3 arguments (and the last has no
default specification). Who is wrong?

I am using Visual Studio 2003 and boost 1.34.0.


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