boost::basic_match::size_type

9 Oct
2007
9 Oct
'07
4:08 a.m.
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; }
6346
Age (days ago)
6346
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bill Webster