Boost logo

Geometry :

Subject: [ggl] Definition of exception types
From: Bruno Lalande (bruno.lalande)
Date: 2009-06-16 09:08:43


Hi,

> 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
after.

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.

Regards
Bruno


Geometry list run by mateusz at loskot.net