Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RDF::CallGuaranteedOrder Struct Reference

Struct to wrap the call to a function with a guaranteed order of execution of its arguments.

Template Parameters
FType of the callable.
ArgsVariadic types of the arguments to the callable.

The execution order is guaranteed by calling the function in the constructor thus enabling the exploitation of the list-initialization sequenced-before feature (See rule 9 at https://en.cppreference.com/w/cpp/language/eval_order).

Definition at line 288 of file Utils.hxx.

Public Member Functions

template<typename F , typename... Args>
 CallGuaranteedOrder (F &&f, Args &&...args)
 

#include <ROOT/RDF/Utils.hxx>

Constructor & Destructor Documentation

◆ CallGuaranteedOrder()

template<typename F , typename... Args>
ROOT::Internal::RDF::CallGuaranteedOrder::CallGuaranteedOrder ( F &&  f,
Args &&...  args 
)
inline

Definition at line 290 of file Utils.hxx.


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