Boost logo

Boost :

Subject: Re: [boost] phoenix::bind
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-10-03 12:44:19

Giovanni Piero Deretta:
>> lambda(_x, _y)[ _z = _x + _y, _z * _z ]

> No please, I hate this in python. Let 'let' be (no pun intended).

Eh. How about this one:

    lambda(_x, _y)[ let. _z = _x + _y, _z * _z ]

I think that the implicit let will be much less of an issue in a lambda
context than it is in Python (or Javascript), though.

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