[Boost-bugs] [Boost C++ Libraries] #5378: Docs for optional::operator= with inplacefactory missing

Subject: [Boost-bugs] [Boost C++ Libraries] #5378: Docs for optional::operator= with inplacefactory missing
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-27 12:38:40


#5378: Docs for optional::operator= with inplacefactory missing
-------------------------------------------------------+--------------------
 Reporter: Yechezkel Mett <ymett.on.boost@…> | Owner: fcacciola
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: optional
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: optional in_place InPlaceFactory |
-------------------------------------------------------+--------------------
 The documentation doesn't seem to mention that optional::operator= can
 take an InPlaceFactory. The only assignment operators mentioned are

 {{{
 optional& optional<T>::operator= ( T const& rhs ) ;
 optional& optional<T>::operator= ( optional const& rhs ) ;
 template<U> optional& optional<T>::operator= ( optional<U> const& rhs ) ;
 }}}

 (and the equivalents for T&) none of which can take an InPlaceFactory.
 Presumably there should be something equivalent to the

 {{{
 template<InPlaceFactory> explicit optional<T>::optional( InPlaceFactory
 const& f );
 template<TypedInPlaceFactory> explicit optional<T>::optional(
 TypedInPlaceFactory const& f );
 }}}

 constructors.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5378>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC