jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Classes | Public Types | Static Public Member Functions | List of all members
jau::func::capref_target_t< R, I, A > Class Template Referencefinal

func::capref_target_t implementation for functions using a reference to a captured value, identifiable as func::target_type::capref via jau::function<R(A...)>::type(). More...

#include <functional.hpp>

Collaboration diagram for jau::func::capref_target_t< R, I, A >:

Public Types

typedef delegate_t< R, A... > delegate_type
 

Static Public Member Functions

static delegate_type delegate (I *data_ptr, R(*function)(I *, A...)) noexcept
 

Detailed Description

template<typename R, typename I, typename... A>
class jau::func::capref_target_t< R, I, A >

func::capref_target_t implementation for functions using a reference to a captured value, identifiable as func::target_type::capref via jau::function<R(A...)>::type().

Template Parameters
Rfunction return type
Itypename holding the captured data used by the function
Afunction arguments
See also
Function Overview

Definition at line 1107 of file functional.hpp.

Member Typedef Documentation

◆ delegate_type

template<typename R , typename I , typename... A>
typedef delegate_t<R, A...> jau::func::capref_target_t< R, I, A >::delegate_type

Definition at line 1109 of file functional.hpp.

Member Function Documentation

◆ delegate()

template<typename R , typename I , typename... A>
static delegate_type jau::func::capref_target_t< R, I, A >::delegate ( I *  data_ptr,
R(*)(I *, A...)  function 
)
inlinestaticnoexcept

Definition at line 1136 of file functional.hpp.

Here is the caller graph for this function:

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