Boost logo

Boost :

From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2021-09-22 18:02:51


On Wed, 22 Sept 2021 at 19:41, 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..

Likely, the type of the `exception` object is not polymorphic.

https://godbolt.org/z/6fsqKc4vY

The subject of your post is meaningless, perhaps try a better subject next time.

Best regards

-- 
Mateusz Loskot, http://mateusz.loskot.net

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