<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Jun 14, 2025, 07:16 Yuri via Boost-users &lt;<a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  

    
  
  <div>
    <p>I&#39;ve encountered the compilation error with this program with <span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">boost-libs-1.88.0</span></span>:</p></div></blockquote></div></div><div dir="auto">&lt;...&gt;</div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    <p><span style="font-family:monospace">It seems that such assignment
        should work.</span><span style="font-family:monospace"><br></span></p></blockquote></div></div><div dir="auto">Boost.DLL now uses std::shared_ptr. Quoting release notes <a href="https://www.boost.org/releases/1.88.0/">https://www.boost.org/releases/1.88.0/</a> :</div><div dir="auto"><br></div><div dir="auto">&gt; boost::dll:import_* functions now return std::shared_ptr rather than boost::shared_ptr. Define BOOST_DLL_USE_BOOST_SHARED_PTR to restore the old behavior, however note that the macro will be removed in one of the upcomming Boost releases. </div><div dir="auto"><br></div><div dir="auto">So for the above case I&#39;d recommend to use `auto` or switch to std::shared_ptr.</div></div>

