Boost C++ Libraries: Ticket #1419: optional_base::operator=() optimization https://svn.boost.org/trac10/ticket/1419 <p> Hi, </p> <pre class="wiki">A a1; boost::optional&lt;A&gt; opt1(a1); boost::optional&lt;A&gt; opt2; opt2 = opt1; </pre><p> the operator=() will call to assign(optional&lt;U&gt; const&amp; rsh), not assign(optional_base const&amp; rsh). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1419 Trac 1.4.3 Fernando Cacciola Sun, 25 Nov 2007 20:28:41 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1419#comment:1 https://svn.boost.org/trac10/ticket/1419#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> Ticket