|
Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
func::capval_target_t implementation for functions using a copy of a captured value, identifiable as func::target_type::capval via jau::function<R(A...)>::type(). More...
#include <functional.hpp>
Public Types | |
| typedef delegate_t< R, A... > | delegate_type |
Public Member Functions | |
| capval_target_t (const I &_data, R(*_function)(I &, A...)) noexcept | |
| Utilizes copy-ctor from 'const I& _data'. More... | |
| capval_target_t (I &&_data, R(*_function)(I &, A...)) noexcept | |
| Utilizes move-ctor from moved 'I&& _data'. More... | |
| R | operator() (A... args) override |
| bool | operator== (const target_t< R, A... > &rhs) const noexcept override |
Public Member Functions inherited from jau::func::target_t< R, A... > | |
| target_t (const target_t &o) noexcept=default | |
| target_t (target_t &&o) noexcept=default | |
| virtual | ~target_t () noexcept |
| virtual R | operator() (A... args)=0 |
| target_t & | operator= (const target_t &o) noexcept=default |
| target_t & | operator= (target_t &&o) noexcept=default |
| virtual bool | operator== (const target_t< R, A... > &rhs) const noexcept=0 |
| constexpr target_type | type () const noexcept |
| Return the func::target_type of this invocation function wrapper. More... | |
Static Public Member Functions | |
| static delegate_type | delegate (const I &data, R(*function)(I &, A...)) noexcept |
| static delegate_type | delegate (I &&data, R(*function)(I &, A...)) noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from jau::func::target_t< R, A... > | |
| target_t (target_type ttype_) noexcept | |
func::capval_target_t implementation for functions using a copy of a captured value, identifiable as func::target_type::capval via jau::function<R(A...)>::type().
| R | function return type |
| I | typename holding the captured data used by the function |
| A | function arguments |
Definition at line 1056 of file functional.hpp.
| typedef delegate_t<R, A...> jau::func::capval_target_t< R, I, A >::delegate_type |
Definition at line 1058 of file functional.hpp.
|
inlinenoexcept |
Utilizes copy-ctor from 'const I& _data'.
Definition at line 484 of file functional2.hpp.
|
inlinenoexcept |
Utilizes move-ctor from moved 'I&& _data'.
Definition at line 489 of file functional2.hpp.
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
Definition at line 1092 of file functional.hpp.
|
inlineoverridevirtual |
Implements jau::func::target_t< R, A... >.
Definition at line 493 of file functional2.hpp.
|
inlineoverridevirtualnoexcept |
Implements jau::func::target_t< R, A... >.
Definition at line 497 of file functional2.hpp.