[openbeos] Re: B_TRUE/B_FALSE

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 21 Sep 2003 17:03:54 +0200 CEST

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> Though, now that I think of it, I never liked this return value/error 
> code 
> multiplexing. The IMHO straight forward way is to return a status_t 
> and 
> pass the data back through a reference parameter. This is more 
> flexible 
> anyway, since it works for any data type.

I think that's the best solution - the other would be the use of 
exceptions :-)


Other related posts: