Boost logo

Boost :

From: Lee Brown (lee_at_[hidden])
Date: 2002-01-25 23:07:25


> In what way does introducing policies and abstraction simplify and clarify
> the boost::scoped_ptr. The task of this class is incredibly simply, is a

Hard to argue with that.

> I hold out for retaining scoped_ptr as-is for the same reason I would work
> out the range a catapult can throw a rock using Newtonian Mechanics rather
> than quantum theory or General Relativity. Both more modern theories could
> be used to more accurately model the problem, but they bring in a lot more
> machinery that hides the real problem while adding little of value, the
> Newtonian model will be well within any bounds allowing for variable wind
> resistance, irregular rocks etc.

I would agree. But policies are cool. You really are taking the romance out
of this ;-)

From what I have seen, I think the methods of and usefulness of template
policy programming are still being investigated by some of the smart people
on this list.

lee


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