|
Boost Users : |
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2022-08-23 06:36:38
Ðа нд, 21.08.2022 г. в 7:39 Ñ. xiongzhiyong via Boost-users <
boost-users_at_[hidden]> напиÑа:
> >I can't reproduce this with msvc versions available on godbolt:
> >https://godbolt.org/z/E8vYWTPf6
> Exactly on godbolt,the compilers work well. I test this by myself.
> Once again, I change to the Microsoft Visual Studio Community 2019
> ver. 16.11.18. And compile the program ,the error still exist.
>
> >Can you provide a complete error log, including source file and line of
> the
> >error?
>
> soruce file:info.hpp
> source code line no:145
> soruce code:error_info_container_impl * c=new error_info_container_impl;
> error log:
> C2259 âboost::exception_detail::error_info_container_implâ: cannot
> instantiate abstract class, test_boost
> D:\boost_1_79_0\boost\exception\info.hpp 145
>
Can you write a simple program that demonstrates the problem on godbolt.org?
Looking at the source code, I don't understand why the error_info_container
class would be abstract.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net