Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> This patch implement this by using exception instead of direct call.
> Objection?
Not in principle, no. But all user-derived exceptions should derive from
std::exception. You're opening a can of worms by doing otherwise.
Angus
> + } catch (support::Message message) {
> + }
> +struct Message {
> + Message(MessageType type, docstring const & title, docstring const &
details):
> + type_(type), title_(title), details_(details) {}
> +
> + MessageType type_;
> + docstring title_;
> + docstring details_;
> +};