boost::basic_match::size_type

8 Oct
2007
8 Oct
'07
10:08 p.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; }
6463
Age (days ago)
6463
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bill Webster