
17 Jul
2007
17 Jul
'07
4:32 p.m.
on Tue Jul 17 2007, "Peng Yu" <pengyu.ut-AT-gmail.com> wrote:
I know _2 and _1 are placeholders. But I'm not very clear how they are used here. I tried to read the manual for "fold", but its explanation refers to many other mpl structs.
Could you give me some easy explanation on how this works?
Sorry, not much time today. I suggest that you read the book ;-) <http://www.boost-consulting.com/mplbook> Maybe this much will help: fold<...> is also known as accumulate<...>. See your friendly STL manual. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com