$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-05-11 13:14:35
Dave Harris wrote:
> What's wrong with:
>
> for (auto i: vec)
>
> ?
Pretty much nothing unless auto is rejected, except the copy.
for( auto i: v )
{
i = 0;
}
for( auto& i: v ) is the typical foreach, unless v is vector<bool> or
another proxied container.