|
DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
|
Binds a function to a pushable, enabling the creation of a function call chain. More...
#include <chaining.h>
Public Types | |
| using | invocation_args_t = tuple_utils::remove_last_t< invocation_traits::args_t< F > > |
| The type of the arguments of this functor. | |
Public Member Functions | |
| template<typename... Args> | |
| auto | operator() (Args &&... args) |
| Calls the bound function with specified arguments and the pushable push_back method as a callback. More... | |
Public Attributes | |
| ref_or_owned< F > | function |
| The bound function. | |
| ref_or_owned< C > | container |
| The bound pushable. | |
Binds a function to a pushable, enabling the creation of a function call chain.
This class template takes two type parameters: F (the function type) and C (the pushable type). It provides an operator() that allows the bound function to be called with specified arguments and the pushable push_back method as a callback.
| F | The type of the function to be bound. |
| C | The type of the pushable to be bound. |
Definition at line 207 of file chaining.h.
|
inline |
Calls the bound function with specified arguments and the pushable push_back method as a callback.
| Args | The types of the arguments. |
| args | The arguments. |
Definition at line 227 of file chaining.h.