mirror of
https://github.com/boostorg/optional.git
synced 2025-07-30 04:27:19 +02:00
test and doc update for .map()
This commit is contained in:
@ -260,6 +260,8 @@ They are empty, trivially copyable classes with disabled default constructor.
|
||||
|
||||
template<class F> T& value_or_eval( F f ) const ; ``[link reference_optional_ref_value_or_eval __GO_TO__]``
|
||||
|
||||
template<class F> auto map( F f ) const -> ``['see below]``; ``[link reference_optional_ref_map __GO_TO__]``
|
||||
|
||||
T* get_ptr() const noexcept ; ``[link reference_optional_ref_get_ptr __GO_TO__]``
|
||||
|
||||
bool has_value() const noexcept ; ``[link reference_optional_ref_operator_bool __GO_TO__]``
|
||||
|
Reference in New Issue
Block a user