FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
functor::Constant< T, VAL > Class Template Reference

Constant functor: always returns a constant value. More...

#include <fastarduino/functors.h>

Detailed Description

template<typename T, T VAL>
class functor::Constant< T, VAL >

Constant functor: always returns a constant value.

Template Parameters
Tany type which values are suitable as template arguments (e.g. integers, char, enum)
VALthe constant value always returned by this functor

Definition at line 109 of file functors.h.


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