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;
}