
22 Oct
2008
22 Oct
'08
6:35 a.m.
On 10/22/08, Eric Niebler <eric@boost-consulting.com> wrote:
When I try this (on trunk) I get:
1>.\main.cpp(93) : error C2664: 'boost::diagnostic_information' : cannot convert parameter 1 from 'my_exception' to 'const boost::exception &' 1> Reason: cannot convert from 'my_exception' to 'const boost::exception' 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
???
Maybe inheriting from boost::exception instead of std::exception would solve that ? -- Alp Mestan --- http://blog.mestan.fr/ --- http://alp.developpez.com/ --- In charge of the Qt, Algorithms and Artificial Intelligence sections on Developpez