Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::LambdaRangeFunctorTVa< LambdaType, Views > Class Template Reference

Functor over an iteration interval instantiated via a lambda function. More...

#include <arccore/base/RangeFunctor.h>

Public Member Functions

 LambdaRangeFunctorTVa (Views... views, const LambdaType &lambda_function)
void executeFunctor (Integer begin, Integer size) override
 Executes the associated method.
Public Member Functions inherited from Arcane::IRangeFunctor
virtual ~IRangeFunctor ()=default
 Releases resources.

Detailed Description

template<typename LambdaType, typename... Views>
class Arcane::LambdaRangeFunctorTVa< LambdaType, Views >

Functor over an iteration interval instantiated via a lambda function.

This class is used with the C++1x lambda function mechanism. It allows managing multiple views as parameters to the lambda

Definition at line 135 of file arccore/src/base/arccore/base/RangeFunctor.h.

Constructor & Destructor Documentation

◆ LambdaRangeFunctorTVa()

template<typename LambdaType, typename... Views>
Arcane::LambdaRangeFunctorTVa< LambdaType, Views >::LambdaRangeFunctorTVa ( Views... views,
const LambdaType & lambda_function )
inline

Member Function Documentation

◆ executeFunctor()

template<typename LambdaType, typename... Views>
void Arcane::LambdaRangeFunctorTVa< LambdaType, Views >::executeFunctor ( Integer begin,
Integer size )
inlineoverridevirtual

Executes the associated method.

Parameters
beginindex of the start of the iteration.
sizenumber of elements to iterate.

Implements Arcane::IRangeFunctor.

Definition at line 148 of file arccore/src/base/arccore/base/RangeFunctor.h.


The documentation for this class was generated from the following files: