Subject: Re: [boost] [gsoc][RFC] Pointer Plus Bits
From: Brian Bartman (bbartmanboost_at_[hidden])
Date: 2010-07-26 10:51:55
On Mon, Jul 26, 2010 at 10:42 AM, Andrew Sutton
> > p1.get<0>() = &i;
> It might be nice to make the accessor a free function written as:
> get<0>(p1) = &i;
> Inside a template I think you would have to write it as:
> p1.template get<0>() = &1;
> You shouldn't have to remove the member accessor, just provide both. This
> should also make the syntax interoperable with tuples.
OK. Will add a get free function that returns a proxy reference type.
> Unsubscribe & other changes:
-- thanks, Brian Bartman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk