On Thu, Mar 13, 2003 at 11:51:35AM -0500, Derek Wyatt wrote: > However, i wouldn't really shy away from constructors throwing > exceptions. They can make life very nice if they are used properly.
But I'd rather use exceptions for everything then and that kind of conversion would be a lot more work than an exceptionless conversion (or an ugly 'new' overload). The suggestions you gave aren't any more convenient than sticking to the create_foobar and init_foobar functions and I don't want to use classes for everything (one thing what makes java suck). > I don't know Ion code and I don't know the particulars of what you want, > but that's probably the essence of it. The template trick would do what I want quite conveniently, but I'm not sure if I want to use templates. -- Tuomo
