Boost logo

Boost :

Subject: Re: [boost] Phoenix review
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-25 09:48:13


Joel de Guzman wrote:
> Doug Gregor wrote:

>> Also in the "Arguments" subsection, there's a parenthetical comment
>> "and it's BLL counterparts: _1, _2, _3, _4, and so on). IIRC, the _#
>> placeholders actually came from Boost.Bind; the Lambda library
>> originally used arg1, arg2, and arg3.
>
> Hah! I didn't know that. I've always used arg1, arg2 but I
> didn't steal that from lambda. Lambda became a later influence
> after FC++.

Lambda's original placeholders were free1, free2 and free3. _1, _2, _3 were
added later as aliases. I think that it has never had _4 and above.

Jaakko's Binder library - the precursor of Lambda - used free1 and free2.

http://www.cs.utu.fi/BL/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk