[Exceptions] Custom type in error_info value?
This is the test program I would like to be explained to me:
#include <iostream>
#include <string>
#include
Throw in function (unknown) Dynamic exception type: struct MyException [PAUmy_tag1@?1?main@] = [ type: ?AV?$error_info@Umy_tag1@?1?main@VMyClass @@@boo t@@, size: 8, dump: 50 69 10 01 b8 18 7f 00 ] [PAUmy_tag2@?1?main@] = asdasd
So, my question: what should I do with 'MyClass' to see the output like this:
Throw in function (unknown) Dynamic exception type: struct MyException [PAUmy_tag2@?1?main@] = qweqwe (Wow !!! Terrible dump is replaced with readable string here !!!???) [PAUmy_tag2@?1?main@] = asdasd
Thanks, Andrew.
2010/2/28 Andrew Chinkoff
So, my question: what should I do with 'MyClass' to see the output like this:
Throw in function (unknown) Dynamic exception type: struct MyException [PAUmy_tag2@?1?main@] = qweqwe (Wow !!! Terrible dump is replaced with readable string here !!!???) [PAUmy_tag2@?1?main@] = asdasd
See http://www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_informat.... Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
Thanks!
2010/3/1 Emil Dotchevski
2010/2/28 Andrew Chinkoff
: So, my question: what should I do with 'MyClass' to see the output like this:
Throw in function (unknown) Dynamic exception type: struct MyException [PAUmy_tag2@?1?main@] = qweqwe (Wow !!! Terrible dump is replaced with readable string here !!!???) [PAUmy_tag2@?1?main@] = asdasd
See http://www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_informat... .
Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Andrew Chinkoff
-
Emil Dotchevski