Boost logo

Boost Users :

Subject: Re: [Boost-users] [uBLAS] Predefined subrange or project
From: Ryan (mccorywork_at_[hidden])
Date: 2011-03-10 09:49:14


On Wed, Mar 9, 2011 at 6:48 PM, Mathias Gaunard <
mathias.gaunard_at_[hidden]> wrote:

>
> To allow rvalues and propagate constness, so as to make it behave more like
> a typedef or macro.
>
> In the snippet you gave, of course, it needs to be non-const. But it's good
> practice to provide both when you write such adaptors.

Could you provide a snippet in which the "rvalues and propagate constness"
needs to occur?

Ryan



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net