
5 Apr
2008
5 Apr
'08
6:16 a.m.
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.