Fix emplace Signature

Universal reference moved to the left of template parameter pack
elipsis in documentation.
This commit is contained in:
Anthony Leedom
2016-09-09 18:33:23 -05:00
parent 99efe72052
commit b8da1932f3
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@
template<class U> optional& operator = ( optional<U>&& rhs ) ; ``[link reference_optional_operator_move_equal_other_optional __GO_TO__]``
template<class... Args> void emplace ( Args...&& args ) ; ``[link reference_optional_emplace __GO_TO__]``
template<class... Args> void emplace ( Args&&... args ) ; ``[link reference_optional_emplace __GO_TO__]``
template<class InPlaceFactory> optional& operator = ( InPlaceFactory const& f ) ; ``[link reference_optional_operator_equal_factory __GO_TO__]``

View File

@ -446,7 +446,7 @@ __SPACE__
[#reference_optional_emplace]
[: `template<class... Args> void optional<T>::emplace( Args...&& args );`]
[: `template<class... Args> void optional<T>::emplace( Args&&... args );`]
* [*Requires:] The compiler supports rvalue references and variadic templates.
* [*Effect:] If `*this` is initialized calls `*this = none`.