--- Comment #5 from ist_alex at yahoo dot com 2006-08-17 14:00 ---
I meant the copy ctor, not the dtor.
Anyhow, looking at it again, it makes some sense.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28761
--- Comment #4 from ist_alex at yahoo dot com 2006-08-17 13:57 ---
Never thought the C++ standard allows ignoring the code written in a dtor. What
if the dtor does something important (like in the example - it doesn't just
copy the contents)?
--
http://gcc.gnu.org/bug
--- Comment #2 from ist_alex at yahoo dot com 2006-08-17 11:54 ---
Created an attachment (id=12089)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12089&action=view)
The preprocessed source (*.ii) file
Bug related file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28761
--- Comment #1 from ist_alex at yahoo dot com 2006-08-17 11:52 ---
Created an attachment (id=12088)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12088&action=view)
The original source code
Bug related file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28761
critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ist_alex at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28761