|
Boost Users : |
From: Bill Webster (bill_at_[hidden])
Date: 2007-10-09 00:08:38
The basic_match access methods have int index parameters, whereas
basic_match::size() returns basic_match::size_type.
This means that the following results in compiler warnings (under MSVC 8.0)
-
boost::smatch match;
// ...
for ( boost::smatch::size_type i = 0; i < match.size(); i++ )
{
cout << match.str( i ).c_str() << endl;
}
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