|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net