From: dan marsden (danmarsden_at_[hidden])
Date: 2006-05-05 16:52:12
----- Original Message ----
From: dan marsden <danmarsden_at_[hidden]>
Sent: Friday, 5 May, 2006 9:21:00 PM
Subject: Re: [boost] [review] Fusion review
dan marsden <danmarsden_at_[hidden]> writes:
> The ref/cref generation is currently in detail, so library private
> implementation, and the is_const switch is repeated as with my
> example. So yes this is a recurring theme, we could provide a
> utility to do the necessary, but that does not seem to be a feature
> specific to fusion (as opposed to any other lib that needs to make
> similar decisions, I believe there is similar code in phoenix for
> Possibly we could make this decision at a higher level, in deref
> proper for example, but I'm not sure the logic is appropriate in all
> cases, such as transform views, were it may be appropriate to return
> non-const refs from a deref of a const container.
IMO you can do better.
Seems I could have done better with my handling of my email client
there. Sorry everyone!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk