|
From: Ian C. <co...@st...> - 2001-09-07 14:06:29
|
On Fri, 7 Sep 2001, Christophe Prud'homme wrote: > * Ian Crawford [Thursday 06 September 2001 09:38 pm ] : > > Ooo... I like that! :) =A0Much more sophisticated than I need, but= very > > nice. > It is sophisticated from the Design point of view, but not so from the = usage point of view > since you have the default behaviour already plugged in! > If you need something slightly different, just implement the policy cha= nge you need and > that's it! It is Reaaallly neat and lots of fun too. Yep. The only thing it doesn't lend itself to is collections. Without a common base class, it's difficult (inconvenient, at least) to have a collection of Smart Pointers whose policies aren't identical. Obviously no problem when the policies are the same, but... Unless there's something I'm missing? --=20 ----------------------------- http://www.stasis.org/~codic/ |