Our great sponsors
-
function2
Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
amp-embedded-infra-lib
amp-embedded-infra-lib is a set of C++ libraries and headers that provide heap-less, STL like, infrastructure for embedded software development
std::function wasn't cutting it for me, but I ended up going with fu2::function. It comes with a lot of features (almost too many), but the header size and compile times are comparable to , and it fit my needs pretty well.
Please have a look at https://github.com/philips-software/embeddedinfralib it has std::function implementation that does not use the heap, is deterministic and safe-ish to be used from interrupt.