From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-07-07 16:19:32
On 7/5/06, Emil Dotchevski <emildotchevski_at_[hidden]> wrote:
> One thing is clear, get_exception_info wouldn't make much of a difference,
> and it would save me from having to explain why a dynamic_cast is alright
> here, so fine, I'll add get_exception_info. :)
I believe that get_exception_info makes a great difference!
Obligating your users to use dynamic_cast you're making dynamic_cast
being part of the interface of your library. Which makes no sense,
dynamic_casts should be an implementation detail. And implementation
details shouldnt be exposed by the interface.
regards and looking forward for your library,
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk