Subject: Re: [boost] [local] Help for the Alternatives section
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2011-05-07 03:17:32
On Fri, May 6, 2011 at 7:59 PM, Lorenzo Caminiti <lorcaminiti_at_[hidden]>wrote:
> On Fri, May 6, 2011 at 2:07 PM, Lorenzo Caminiti <lorcaminiti_at_[hidden]>
> > On Fri, May 6, 2011 at 1:32 PM, Jeffrey Lee Hellrung, Jr.
> > <jeffrey.hellrung_at_[hidden]> 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...]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk