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

func::null_target_t implementation for no function. More...

#include <functional.hpp>

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

Public Types

typedef delegate_t< R, A... > delegate_type
 

Static Public Member Functions

static delegate_type delegate () noexcept
 

Detailed Description

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

func::null_target_t implementation for no function.

identifiable as jau::func::target_type::null via jau::function<R(A...)>::type().

This special type is used for an empty jau::function instance w/o holding a function, e.g. when created with the default constructor.

Template Parameters
Rfunction return type
Afunction arguments
See also
Function Overview

Definition at line 749 of file functional.hpp.

Member Typedef Documentation

◆ delegate_type

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

Definition at line 751 of file functional.hpp.

Member Function Documentation

◆ delegate()

template<typename R , typename... A>
static delegate_type jau::func::null_target_t< R, A >::delegate ( )
inlinestaticnoexcept

Definition at line 767 of file functional.hpp.


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