Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-03-24 08:12:47

on 3/24/00 12:11 AM, Kevin Atkinson at kevinatk_at_[hidden] wrote:

> 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 -> ?????

Er, that would be the pointer-like interface which Greg alluded to.

Boost list run by bdawes at, gregod at, cpdaniel at, john at