On 03/05/2010 11:56 AM, Edwin Leuven wrote:
now when looping i write something like this:

row_type const nrows = row_info.size();
for (row_type r = 0; r < nrows; ++r) {

are compilers these days smart enough so that we can simply write:

for (row_type r = 0; r < row_info.size(); ++r) {

I guess it depends of the constness of row_info...
Best is to not bet on the compiler smartness :-)

Abdel.

Reply via email to