|
Boost : |
From: Beman Dawes (beman_at_[hidden])
Date: 1998-12-07 17:51:15
At 12:38 PM 12/7/98 -0500, David Abrahams wrote:
>Kühl, Dietmar (Dietmar.Kuehl_at_[hidden]) wrote:
>
>>For the embedded method I think it is reasonable to have a
>>way how the user can choose the name of the member.
>
>Yuck! Since it's going to be intrusive anyway, why not simply
require that the user derive from boost::reference_counted?
It is better, I think, to just specify the expressions which must be
well formed, and let the class meet that requirement any way it wants
to. Seems simpler that derivation to me. But I agree with you that
there doesn't seem to be any compeling reason to let the user choose
the name.
--Beman
------------------------------------------------------------------------
Free Web-based e-mail groups -- http://www.eGroups.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk