Boost C++ Libraries: Ticket #5378: Docs for optional::operator= with inplacefactory missing https://svn.boost.org/trac10/ticket/5378 <p> The documentation doesn't seem to mention that optional::operator= can take an <a class="missing wiki">InPlaceFactory</a>. The only assignment operators mentioned are </p> <pre class="wiki">optional&amp; optional&lt;T&gt;::operator= ( T const&amp; rhs ) ; optional&amp; optional&lt;T&gt;::operator= ( optional const&amp; rhs ) ; template&lt;U&gt; optional&amp; optional&lt;T&gt;::operator= ( optional&lt;U&gt; const&amp; rhs ) ; </pre><p> (and the equivalents for T&amp;) none of which can take an <a class="missing wiki">InPlaceFactory</a>. Presumably there should be something equivalent to the </p> <pre class="wiki">template&lt;InPlaceFactory&gt; explicit optional&lt;T&gt;::optional( InPlaceFactory const&amp; f ); template&lt;TypedInPlaceFactory&gt; explicit optional&lt;T&gt;::optional( TypedInPlaceFactory const&amp; f ); </pre><p> constructors. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5378 Trac 1.4.3 Steven Watanabe Wed, 06 Apr 2011 20:33:56 GMT <link>https://svn.boost.org/trac10/ticket/5378#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5378#comment:1</guid> <description> <p> I presume that you're referring to the Detailed Semantics page, as these operators to show up in the Synopsis. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Wed, 06 Apr 2011 20:54:25 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5378#comment:2 https://svn.boost.org/trac10/ticket/5378#comment:2 <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> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/71048" title="Add assignment operators taking an InPlaceFactory to the Detailed ...">[71048]</a>) Add assignment operators taking an <a class="missing wiki">InPlaceFactory</a> to the Detailed Semantics section. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5378" title="#5378: Bugs: Docs for optional::operator= with inplacefactory missing (closed: fixed)">#5378</a>. </p> Ticket