This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19662] [FEATURE REQUEST] Need an option preventing any atexit object destructions
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2005 22:41:59 -0000
- Subject: [Bug c++/19662] [FEATURE REQUEST] Need an option preventing any atexit object destructions
- References: <20050128052304.19662.yuri@tsoft.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2005-01-28 22:41 -------
Subject: Re: [FEATURE REQUEST] Need an option preventing any atexit object destructions
"yuri at tsoft dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| > If your objects are simple and do not need destruction, just don't
| > define destructors.
| >
| > -- Gaby
|
| Disagree, it may only be determined after the optimization that destructor is
| actuall empty.
Groumph.
It was said that the objects are simple and do not need destructor.
So what is the point of writing them in the first place?
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19662