Great g++ bug! Local destructor isn't called!

Martin York martin.york@veritas.com
Wed Mar 10 19:49:00 GMT 2004


 Hi Matt,

 >Just out of curiosity, what is the reasoning for this?  Is this for
g++ specifically, or C++ in general?

It's for C++ in general.

<SNIP>

--Eljay


Scott Meyers Book "More Effective C++" covers this topic in detail. It's
also a very good read in general.

<<http://www.awprofessional.com/isapi/product_id~{3923C66A-8589-44A3-8A8
7-926854646935}/selectDescTypeId~{06B328CA-921B-4395-945D-3078CA6F292A}/
st~{75A0BC87-B9B4-435A-86E0-36F0AC8E0923}/session_id~{6EB35E33-F9B3-4270
-9DC8-C9E6136F4D86}/catalog/product.asp>>




More information about the Gcc-help mailing list