Subject: [ggl] Definition of exception types
From: Mateusz Loskot (mateusz)
Date: 2009-06-16 14:24:07
Bruno Lalande wrote:
>> Yes. The code I presented was there to define the error_type usable as the
>> default argument:
>> some_function(..., error_type& e = throws);
> OK, wasn't obvious to me. I guess the "error_type" in the line above
> is actually what you call "error_code" in the adaptation code you sent
> This solution sounds definitively good to me. It makes error handling
> in GGL very flexible to the users' needs, and makes us already
> compliant to the upcoming standard.
Yes, I'm supportive to Bruno's opinion.
The earlier we decide, the easier it will be to marry current
code with this solution.
Just a loose idea, may be it would be good idea to prepare the proposal
A few examples to explain it better:
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org
Geometry list run by mateusz at loskot.net