Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 302 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 302 Bytes

Function.h

Heap allocation free version of C++11 std::function.

Function.h stores the closure in an internal buffer instead of heap allocated memory. This is useful for low latency agent and thread pool systems. Please note that the captured values can perfom allocations, for example std::string.