Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-03-06 07:21:03

on 3/6/00 7:10 AM, Kevin Atkinson at kevinatk_at_[hidden] wrote:

> Great. How about looking at my ClonePtr which does the same thing but
> works when the template type is an Abstract Base Class.

Okay, you asked for it:

The idea seems fine to me in principle

I have a hard time reading code that uses recapitalized or otherwise
distorted keywords (like Class and ths)

I don't think it is worth using RTTI to check for the special case where the
types match during assignment.

For uniformity with auto_ptr, del() should be merged with assign() and
should be called reset().

Implicit conversion to bool is a terrifying idea, since bools can be
promoted to any integer type.


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