Boost logo

Boost :

From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2021-09-22 18:08:39


On Wed, Sep 22, 2021 at 10:42 AM rajesh daggumati via Boost <
boost_at_[hidden]> wrote:
>
> 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);

Post a complete program please.


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