Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2007-08-20 16:34:14


On Mon, 20 Aug 2007 20:08:17 +0000 (UTC)
Steven Watanabe <steven_at_[hidden]> wrote:

> The local structs are not essential. You can
> use tuples.
>
> I too would definitely like to see something like
>
> int main() {
>
> int i = 0;
>
> BOOST_LOCAL_FUNCTION(f, (i), (int, v)) {
> i = v;
> } BOOST_LOCAL_FUNCTION_END;
>
> f(2); // i = 2
>
> }

Steven, do you have time to submit a review of ScopeExit? Your
experience and ideas would be most beneficial.

Thanks!


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