re:question about compile the boost h ead file.

xiongzhiyong via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <[email protected]>
Respeced Mr.Emil,
Thank you for your kindly reply. 

>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.hppsource code line no:145soruce 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    

Best regards,
zhiyong

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.