Skip to content

Use `apply` in `Gaudi::Functional`

Gerhard Raven requested to merge graven/Gaudi:modernize-functional into master
  • Add Gaudi::apply -- an implementation of C++17 std::apply
  • Prefer Gaudi::apply over direct use of std::index_sequence:
    • eliminates the explicit 'two-step' call through an invoke member function required to generate an std::index_sequence
    • enables RVO in multi transformer case
Edited by Marco Clemencic

Merge request reports

Loading