
20 Aug
2007
20 Aug
'07
8:34 p.m.
On Mon, 20 Aug 2007 20:08:17 +0000 (UTC) Steven Watanabe <steven@providere-consulting.com> 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!