Boost logo

Boost :

From: Anthony Williams (anthwil_at_[hidden])
Date: 2002-08-27 09:18:28


> I've worked-around the 'operator T&() const' problem by providing a strict
> deep-constant non-member get() function, which is presented as the
> recommended idiom.

If you're going to provide a non-const reference to a member of a const
object, that member had better be mutable....

Anthony


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk