re:question about compile the boost head file.

Respeced Mr.Emil, Thank you for your kindly reply.
I can't reproduce this with msvc versions available on godbolt:
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

На нд, 21.08.2022 г. в 7:39 ч. xiongzhiyong via Boost-users < boost-users@lists.boost.org> написа:
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.
participants (2)
-
Emil Dotchevski
-
zyx_xzy@sina.com