Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2001-04-10 15:03:19


On Tuesday, April 10, 2001, at 02:42 PM, Peter Dimov wrote:

> The new version breaks Intel 5.0:
>
> C:\Projects\testbed\main.cpp(96) : internal error: assertion failed at:
> "edgcpfe/expr.c", line 12892
> auto_ptr<const Derived> pp(p);

Just my .02, but I believe the auto_ptr_base class hurts more than it
helps. It doesn't save on code bloat. It doesn't reduce code
duplication. It does increase complexity both for the human reader, and
for the compiler. And it increases the required inline depth on the
compiler. I'm fond of this technique when it saves on code bloat or
code duplication, but I'm not seeing that here (please educate me if I'm
wrong).

-Howard


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