[#beman-optional-optional-03-and_then-0d] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::and_then :relfileprefix: ../../../ :mrdocs: Returns an optional containing the result of applying `f` to the stored value. == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class F> constexpr auto and_then(F&& f) &&; ---- == Return Value auto [.small]#Created with https://www.mrdocs.com[MrDocs]#