ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm]   Знатокам gcc (3.2, C++)
Date: Tue, 29 Oct 2002 15:37:45 +0300
Message-ID: <20021029123745.GB1524@vcserver.mivlgu.internal> (raw)
In-Reply-To: <20021029060620.GL23755@bebi.novosoft.ru>

On Tue, Oct 29, 2002 at 12:06:20 +0600, Alexey Morozov wrote:
> On Mon, Oct 28, 2002 at 09:10:09PM +0300, Sergey Vlasov wrote:
> > > Эхе-хе, не повести печальнее...
> > > Но в любом случае, спасибо.
> > Кстати, те же самые проблемы будут даже с C++-библиотекой, но
> > скомпилированной с -fno-exceptions (например, Qt - не знаю, как ее
> > собирают сейчас, но раньше было именно так).
> Оп!... А по сопатке сборщикам за такую сборку?
> Собственно, возможность бросить эксепшн и поймать его где-нибудь ниже
> (централизованно) - это одно из немногочисленных заметных преимуществ
> C++ в сравнении с голимым C...
В случае с Qt это особого смысла не имеет, т.к. код Qt написан совершенно
без учета исключений, поэтому динамически созданные объекты все равно не
вычистятся.  Вообще аккуратно написанные в этом отношении библиотеки
встречаются довольно редко.  Оно и понятно - требуется при каждом new
использовать либо std::auto_ptr, либо еще что-то подобное, следить за
порядком операций и т.п.


  parent reply	other threads:[~2002-10-29 12:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 13:50 Alexey Morozov
2002-10-28 14:04 ` Sergey Vlasov
2002-10-28 18:45   ` Alexey Morozov
2002-10-28 18:10     ` Sergey Vlasov
2002-10-29  6:06       ` Alexey Morozov
2002-10-29  9:07         ` [Comm] [JT] " W.Kondratev
2002-10-29  9:12           ` Leonid Sysoletin
2002-10-29  9:28             ` W.Kondratev
2002-10-29 12:37         ` Sergey Vlasov [this message]
2002-10-30 16:56           ` [Comm] " Alexey Morozov
2002-10-29 17:51         ` Alexey Voinov
2002-10-29 18:08           ` Sergey Vlasov
2002-10-29 21:07             ` Alexey Voinov
2002-10-29  9:40   ` Valentin Nechayev
2002-10-29 12:51     ` Sergey Vlasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021029123745.GB1524@vcserver.mivlgu.internal \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git