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

func::std_target_t implementation for std::function instances, identifiable as func::target_type::std via jau::function<R(A...)>::type(). More...

#include <functional.hpp>

Collaboration diagram for jau::func::std_target_t< R, A >:

Public Types

typedef delegate_t< R, A... > delegate_type
 

Static Public Member Functions

static delegate_type delegate (uint64_t id, std::function< R(A...)> function) noexcept
 

Detailed Description

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

func::std_target_t implementation for std::function instances, identifiable as func::target_type::std via jau::function<R(A...)>::type().

Notable, instance is holding a unique uint64_t identifier to allow implementing the equality operator, not supported by std::function.

Template Parameters
Rfunction return type
Afunction arguments
See also
Function Overview

Definition at line 1153 of file functional.hpp.

Member Typedef Documentation

◆ delegate_type

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

Definition at line 1155 of file functional.hpp.

Member Function Documentation

◆ delegate()

template<typename R , typename... A>
static delegate_type jau::func::std_target_t< R, A >::delegate ( uint64_t  id,
std::function< R(A...)>  function 
)
inlinestaticnoexcept

Definition at line 1188 of file functional.hpp.

Here is the caller graph for this function:

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