21 Sep
2021
21 Sep
'21
12:32 p.m.
Hi Team, in my code,I had to write like below: const int* p = boost::get_error_infoboost::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_infoboost::throw_line(exception); Please help me where will be the issue is.what will be the solution.