$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Herb Sutter (hsutter_at_[hidden])
Date: 2002-02-19 00:35:07
> Or how about allowing
>
> std::vector< ...complex sub-types, ... > v;
> for( v::const_iterator it = v.begin(); it != v.end() ++it)
Wouldn't the "auto" proposal (almost) do that?
for( auto it = v.begin(); it != v.end(); ++it )
In this case it becomes an iterator, not a const_iterator, though. Is that a
big deal, or is "auto" alone sufficient to cover most of the desired
functionality?
Herb