$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [lambda] Initializing a std::list of unsigned short points
From: Igor R (boost.lists_at_[hidden])
Date: 2009-10-14 15:18:09
>
> Thanks, that worked. Is there an advantage to using std::generate vs
> std::for_each for the assignment?
>
std::for_each was originally defined as a non-modifying algorithm:
http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#475