Re: [gtkmm] Glib::Module API issues
- From: murrayc t-online de (Murray Cumming)
- To: Vladislav Grinchenko <vgrinche integ com>
- Cc: Ross Burton <r burton 180sw com>, Gtkmm List <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Glib::Module API issues
- Date: 22 Mar 2003 23:07:26 +0100
On Fri, 2003-03-21 at 19:56, Vladislav Grinchenko wrote:
> Ross,
>
> instead of throwing exception from the constructor, you might provide
> both operator void*() and operator!() to test if object creation was
> successful.
Wouldn't operator bool() be simpler? I said "operator=()" but I meant
operator bool().
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]