FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
functor::Functor< FUNCTOR > Struct Template Reference

Utility to instantiate and execute a functor from its type. More...

#include <fastarduino/functors.h>

Detailed Description

template<typename FUNCTOR>
struct functor::Functor< FUNCTOR >

Utility to instantiate and execute a functor from its type.

using namespace functor;
using Converter = Cast<char, uint8_t>;
uint8_t x = Functor<Converter>::call('a');
Cast functor: returns its argument of type ARG casted to type RES.
Definition: functors.h:129
This namespace defines a few useful functors.
Definition: functors.h:38
Utility to instantiate and execute a functor from its type.
Definition: functors.h:219

Definition at line 218 of file functors.h.


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