
7 Jul
2006
7 Jul
'06
8:19 p.m.
On 7/5/06, Emil Dotchevski <emildotchevski@hotmail.com> wrote:
[snipped]
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.
--Emil
regards and looking forward for your library, -- Felipe Magno de Almeida