Boost C++ Libraries: Ticket #1420: optional_base::operator=() optimization https://svn.boost.org/trac10/ticket/1420 <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/1420 Trac 1.4.3 rick68@… Thu, 08 Nov 2007 01:50:39 GMT attachment set https://svn.boost.org/trac10/ticket/1420 https://svn.boost.org/trac10/ticket/1420 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_1_34_1_optional.diff</span> </li> </ul> <p> patch optional&lt;T&gt;::operator=. </p> Ticket rick68@… Thu, 08 Nov 2007 01:57:13 GMT attachment set https://svn.boost.org/trac10/ticket/1420 https://svn.boost.org/trac10/ticket/1420 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test-code.cpp</span> </li> </ul> <p> test-code.cpp </p> Ticket Fernando Cacciola Sun, 25 Nov 2007 20:27:41 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1420#comment:1 https://svn.boost.org/trac10/ticket/1420#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