Apply the specified func to the contained value and return the result as an rvalue optional.
func
Declared in <bslstl_optional.h>
<bslstl_optional.h>
template<class t_FUNC> constexpr auto transform(t_FUNC&& func) &&;