
7 May
2011
7 May
'11
7:17 a.m.
On Fri, May 6, 2011 at 7:59 PM, Lorenzo Caminiti <lorcaminiti@gmail.com>wrote:
On Fri, May 6, 2011 at 2:07 PM, Lorenzo Caminiti <lorcaminiti@gmail.com> wrote:
On Fri, May 6, 2011 at 1:32 PM, Jeffrey Lee Hellrung, Jr. <jeffrey.hellrung@gmail.com> wrote:
Would "const bind(int)& x" work?
It think yes :) I should be able to support the syntax (also with optional leading const and optional &):
bind& x // deduced type (with Boost.Typeof) bind(int)& x // specify type (no Boost.Typeof)
More in general "[const] bind [(type)] [&] name" where "[t]" indicates that token t is optional.
[...snip preprocessor details...] Awesome. - Jeff