Returns an optional containing the result of applying f
to the stored value, or a default value if there is no stored value.
Synopsis
Declared in <beman/optional/optional.hpp>
template<class F>
constexpr
auto
transform(F&& f);
Return Value
auto
Template Parameters
Name |
Description |
F |
Parameters
Name |
Description |
f |
Created with MrDocs