Boost logo

Boost :

From: Cory Nelson (phrosty_at_[hidden])
Date: 2004-11-01 09:07:40


this will cause compile warnings in VC7.1 with the "detect 64bit
issues" flag set:

boost::match_results<string::const_iterator> what;
for(boost::match_results<string::const_iterator>::size_type i=0;
i<what.size(); i++)
   results.push_back(string(what[i].first, what[i].second));

warning C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data

it seems the operator takes an int for index instead of size_type.

-- 
Cory Nelson
http://www.int64.org

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk