| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
Gaudi::Functional::details::invoke_optionally_t Struct Reference

`#include <GaudiAlg/FunctionalDetails.h>`

## Public Member Functions
template<typename F , typename Arg , typename = require_is_optional<Arg>>
void | operator() (F &&f, Arg &&arg) const

## Detailed Description

Definition at line 107 of file FunctionalDetails.h.

## Member Function Documentation

## ◆ operator()()

template<typename F , typename Arg , typename = require_is_optional<Arg>>

void Gaudi::Functional::details::invoke_optionally_t::operator() | ( | F && | f,
|  | Arg && | arg
| ) |  | const
| inline

Definition at line 113 of file FunctionalDetails.h.

113 {
114 if ( arg ) std::invoke( std::forward<F>( f ), *std::forward<Arg>( arg ) );
115 }

The documentation for this struct was generated from the following file:

- GaudiAlg/GaudiAlg/FunctionalDetails.h