Maps the value of a given optional to another type using a given function.
The optional to map.
An optional whose type is the return-type of the given fn template argument function.
Maps the value of a given optional to another type using a given function.