Subject: Re: [ublas] [bindings][lapack] Error handling
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2010-07-27 06:25:38
Rutger ter Borg wrote:
> looking at the lange case, I am wondering what would be your preferred
> of handling LAPACK's info parameter?
> 1) as a return type
I would prefer this one, but I guess you will find one or more lapack routines that uses this as an input parameter (just to annoy us...)
> 2) pass it as the last parameter / argument
I could live with it, but I wouldn't like it.
> 3) like 2, but then using boost::system_error
> 4) using exceptions
> 5) some of the above, may be configured using a Policy
I'm also not enthusiastic about these.