Boost logo

Boost :

From: rajesh daggumati (rajeshdaggumati9999_at_[hidden])
Date: 2021-09-21 12:32:16


Hi Team,
in my code,I had to write like below:
const int* p = boost::get_error_info<boost::throw_line>(exception);
But while building the code,I am facing issue like below:
error C2683: 'dynamic_cast':'boost::exception_ptr' is not a polymorphic
type..

Then I have added one dummy virtual function in exception_ptr class then
this issue got resolved but I am getting some test cases failed at this
line:
Const int* p = boost::get_error_info<boost::throw_line>(exception);

Please help me where will be the issue is.what will be the solution.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk