Boost logo

Boost :

From: Kevin Atkinson (kevinatk_at_[hidden])
Date: 2000-03-24 00:11:42


On Thu, 23 Mar 2000, Dave Abrahams wrote:

> on 3/23/00 8:36 PM, Greg Colvin at gcolvin_at_[hidden] wrote:
>
> > Classes with deep copy semantics seem to me more like "smart references"
> > than smart pointers, so I wonder if they should have a pointer-like
> > interface at all.
>
> They sort of need to if you are going to do anything with the referent
> object. I mean, you could use a "get()" function or something, but it's
> cumbersome to say the least...

What about operator * and operator -> ?????

---
Kevin Atkinson
kevinatk_at_[hidden]
http://metalab.unc.edu/kevina/

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