Re: [gtkmm] Glib::Module API issues



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]