Skip to content

feat(functors) implement automatic wrapping/unwrapping of optional returns from functor

Christoph Hasse requested to merge chasse_fixed_for_362 into master

Needs: Analysis!901 (merged)

This implements:

  1. Functors::Optional as alternative to std::optional, please see Functors/Optional.h for motivation.
  2. Automatic wrapping and unwrapping by the underlying framework if a chained functor returns a Functors::Optional

ToDo / Questions:

  • Not yet implemented is the handling of an optional return value by a functor that is bound to another functor.
  • Adapt FunTuple to understand the new optional output cc @amathad

Some smaller fixes for Moore!1461 (closed) :

  • add ADDRESSOF functor
  • fix RPPVIPCHI2, SHARE_BPV
  • enable multiple args for non SIMD input

cc @tfulghes @graven @amathad

Edited by Christoph Hasse

Merge request reports