BioDynaMo  v1.03.58-27764645
Public Member Functions | Public Attributes | List of all members
bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)> Struct Template Referencefinal

#include <functor.h>

Inheritance diagram for bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>:
[legend]
Collaboration diagram for bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>:
[legend]

Public Member Functions

 LambdaFunctor (const TLambda &lambda)
 
 LambdaFunctor (const LambdaFunctor &other)
 
virtual ~LambdaFunctor ()=default
 
TReturn operator() (TArgs... args) override
 
- Public Member Functions inherited from bdm::Functor< TReturn, TArgs... >
virtual ~Functor ()=default
 

Public Attributes

TLambda lambda
 

Detailed Description

template<typename TLambda, typename TReturn, typename... TArgs>
struct bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>

See also
bdm::LambdaFunctor

Definition at line 56 of file functor.h.

Constructor & Destructor Documentation

◆ LambdaFunctor() [1/2]

template<typename TLambda , typename TReturn , typename... TArgs>
bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>::LambdaFunctor ( const TLambda &  lambda)
inline

Definition at line 60 of file functor.h.

◆ LambdaFunctor() [2/2]

template<typename TLambda , typename TReturn , typename... TArgs>
bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>::LambdaFunctor ( const LambdaFunctor< TReturn(TLambda::*)(TArgs...)> &  other)
inline

Definition at line 61 of file functor.h.

◆ ~LambdaFunctor()

template<typename TLambda , typename TReturn , typename... TArgs>
virtual bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>::~LambdaFunctor ( )
virtualdefault

Member Function Documentation

◆ operator()()

template<typename TLambda , typename TReturn , typename... TArgs>
TReturn bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>::operator() ( TArgs...  args)
inlineoverridevirtual

Implements bdm::Functor< TReturn, TArgs... >.

Definition at line 64 of file functor.h.

Member Data Documentation

◆ lambda

template<typename TLambda , typename TReturn , typename... TArgs>
TLambda bdm::LambdaFunctor< TReturn(TLambda::*)(TArgs...)>::lambda

Definition at line 58 of file functor.h.


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