mirror of
https://github.com/boostorg/optional.git
synced 2025-07-19 15:22:07 +02:00
spelling: deprecated
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Andrzej Krzemienski
parent
74a684232f
commit
cc416b8989
@ -1136,21 +1136,21 @@ __SPACE__
|
|||||||
[#reference_optional_ref_reset_value]
|
[#reference_optional_ref_reset_value]
|
||||||
[: `template<class R> void optional<T&>::reset ( R&& r) noexcept;`]
|
[: `template<class R> void optional<T&>::reset ( R&& r) noexcept;`]
|
||||||
* [*Effects:] Equivalent to `*this = std::forward<R>(r)`.
|
* [*Effects:] Equivalent to `*this = std::forward<R>(r)`.
|
||||||
* [*Remarks:] This function is depprecated.
|
* [*Remarks:] This function is deprecated.
|
||||||
|
|
||||||
__SPACE__
|
__SPACE__
|
||||||
|
|
||||||
[#reference_optional_ref_is_initialized]
|
[#reference_optional_ref_is_initialized]
|
||||||
[: `bool optional<T&>::is_initialized() const noexcept;`]
|
[: `bool optional<T&>::is_initialized() const noexcept;`]
|
||||||
* [*Effects:] Equivalent to `return bool(*this)`.
|
* [*Effects:] Equivalent to `return bool(*this)`.
|
||||||
* [*Remarks:] This function is depprecated.
|
* [*Remarks:] This function is deprecated.
|
||||||
|
|
||||||
__SPACE__
|
__SPACE__
|
||||||
|
|
||||||
[#reference_optional_ref_get_value_or_value]
|
[#reference_optional_ref_get_value_or_value]
|
||||||
[: `template<class R> T& optional<T&>::get_value_or( R&& r ) const noexcept;`]
|
[: `template<class R> T& optional<T&>::get_value_or( R&& r ) const noexcept;`]
|
||||||
* [*Effects:] Equivalent to `return value_or(std::forward<R>(r);`.
|
* [*Effects:] Equivalent to `return value_or(std::forward<R>(r);`.
|
||||||
* [*Remarks:] This function is depprecated.
|
* [*Remarks:] This function is deprecated.
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
@ -502,7 +502,7 @@
|
|||||||
<span class="bold"><strong>Effects:</strong></span> Equivalent to <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">forward</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></code>.
|
<span class="bold"><strong>Effects:</strong></span> Equivalent to <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">forward</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></code>.
|
||||||
</li>
|
</li>
|
||||||
<li class="listitem">
|
<li class="listitem">
|
||||||
<span class="bold"><strong>Remarks:</strong></span> This function is depprecated.
|
<span class="bold"><strong>Remarks:</strong></span> This function is deprecated.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<p>
|
<p>
|
||||||
@ -516,7 +516,7 @@
|
|||||||
<span class="bold"><strong>Effects:</strong></span> Equivalent to <code class="computeroutput"><span class="keyword">return</span> <span class="keyword">bool</span><span class="special">(*</span><span class="keyword">this</span><span class="special">)</span></code>.
|
<span class="bold"><strong>Effects:</strong></span> Equivalent to <code class="computeroutput"><span class="keyword">return</span> <span class="keyword">bool</span><span class="special">(*</span><span class="keyword">this</span><span class="special">)</span></code>.
|
||||||
</li>
|
</li>
|
||||||
<li class="listitem">
|
<li class="listitem">
|
||||||
<span class="bold"><strong>Remarks:</strong></span> This function is depprecated.
|
<span class="bold"><strong>Remarks:</strong></span> This function is deprecated.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<p>
|
<p>
|
||||||
@ -532,7 +532,7 @@
|
|||||||
<span class="bold"><strong>Effects:</strong></span> Equivalent to <code class="computeroutput"><span class="keyword">return</span> <span class="identifier">value_or</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">forward</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">);</span></code>.
|
<span class="bold"><strong>Effects:</strong></span> Equivalent to <code class="computeroutput"><span class="keyword">return</span> <span class="identifier">value_or</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">forward</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">);</span></code>.
|
||||||
</li>
|
</li>
|
||||||
<li class="listitem">
|
<li class="listitem">
|
||||||
<span class="bold"><strong>Remarks:</strong></span> This function is depprecated.
|
<span class="bold"><strong>Remarks:</strong></span> This function is deprecated.
|
||||||
</li>
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -336,7 +336,7 @@ class optional_base : public optional_tag
|
|||||||
// No-throw (assuming T::~T() doesn't)
|
// No-throw (assuming T::~T() doesn't)
|
||||||
void reset() BOOST_NOEXCEPT { destroy(); }
|
void reset() BOOST_NOEXCEPT { destroy(); }
|
||||||
|
|
||||||
// **DEPPRECATED** Replaces the current value -if any- with 'val'
|
// **DEPRECATED** Replaces the current value -if any- with 'val'
|
||||||
void reset ( argument_type val ) { assign(val); }
|
void reset ( argument_type val ) { assign(val); }
|
||||||
|
|
||||||
// Returns a pointer to the value if this is initialized, otherwise,
|
// Returns a pointer to the value if this is initialized, otherwise,
|
||||||
|
@ -142,7 +142,7 @@ class tc_optional_base : public optional_tag
|
|||||||
// No-throw (assuming T::~T() doesn't)
|
// No-throw (assuming T::~T() doesn't)
|
||||||
void reset() BOOST_NOEXCEPT { destroy(); }
|
void reset() BOOST_NOEXCEPT { destroy(); }
|
||||||
|
|
||||||
// **DEPPRECATED** Replaces the current value -if any- with 'val'
|
// **DEPRECATED** Replaces the current value -if any- with 'val'
|
||||||
void reset ( argument_type val ) BOOST_NOEXCEPT { assign(val); }
|
void reset ( argument_type val ) BOOST_NOEXCEPT { assign(val); }
|
||||||
|
|
||||||
// Returns a pointer to the value if this is initialized, otherwise,
|
// Returns a pointer to the value if this is initialized, otherwise,
|
||||||
|
@ -392,7 +392,7 @@ class optional_base : public optional_tag
|
|||||||
// No-throw (assuming T::~T() doesn't)
|
// No-throw (assuming T::~T() doesn't)
|
||||||
void reset() BOOST_NOEXCEPT { destroy(); }
|
void reset() BOOST_NOEXCEPT { destroy(); }
|
||||||
|
|
||||||
// **DEPPRECATED** Replaces the current value -if any- with 'val'
|
// **DEPRECATED** Replaces the current value -if any- with 'val'
|
||||||
void reset ( argument_type val ) { assign(val); }
|
void reset ( argument_type val ) { assign(val); }
|
||||||
|
|
||||||
// Returns a pointer to the value if this is initialized, otherwise,
|
// Returns a pointer to the value if this is initialized, otherwise,
|
||||||
|
Reference in New Issue
Block a user