Hi,

On Tuesday 24 January 2006 23:00, Frederic Bouvier wrote:
> and what about declaring SGReference'd class destructor as protected and
> SGSharedPtr<T> as friend ? That way, it will not be possible to call
> delete explicitely.
Not sure, but I believe this is not sufficient since the SGReferenced d'tor 
will be called from the derived class d'tor. If that one is public, I believe 
that we can still delete the derived one.
But sure, would be good to have. Still thinking about that ...

   greetings

           Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to