<div dir="ltr">На сб, 20.08.2022 г. в 10:37 ч. xiongzhiyong via Boost-users <<a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a>> написа:<br>> #include <boost\exception\info.hpp><br>><br>> void main()<br>> {<br>> return;<br>> }<br>><br>> The compile environment is Microsoft Visual Studio Community 2022 (64 位) - ver. 17.2.6.<br>> Compile error information is that C2259 “boost::exception_detail::error_info_container_impl”: cannot instantiate abstract class.<br>> I try many Boost versions,e.g.,boost 79,boost 65,boost64,boost60. They all give errors.<br><br><div>I can't reproduce this with msvc versions available on godbolt: <a href="https://godbolt.org/z/E8vYWTPf6">https://godbolt.org/z/E8vYWTPf6</a></div><div><br></div><div>Can you provide a complete error log, including source file and line of the error?</div></div>