
23 Aug
2010
23 Aug
'10
12:43 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost- bounces@lists.boost.org] On Behalf Of Lorenzo Caminiti Sent: Sunday, August 22, 2010 7:10 PM To: boost@lists.boost.org Subject: [boost] [local_function] any interest in a LocalFunction library?
Hello all,
Is there interest in a library that implement local functions for C++?
<snip> What's wrong with the following? Aside from the know limitations. (local::f cannot be a template arg or be a function template). void f() { struct local { static void f() {} }; local::f(); } Does your library have advantages over this? Regards, Dmitry