Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-17 12:32:12

on Tue Jul 17 2007, "Peng Yu" <> 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 ;-)

Maybe this much will help: fold<...> is also known as
accumulate<...>. See your friendly STL manual.

Dave Abrahams
Boost Consulting
The Astoria Seminar ==>

Boost list run by bdawes at, gregod at, cpdaniel at, john at