Recent Posts
- Implementing a std::function<>-like wrapper in C++, part 3: using a static storage buffer
- Implementing a std::function<>-like wrapper in C++, part 2: generalizing the return type and arguments
- Implementing a std::function<>-like wrapper in C++, part 1: type erasing
- Hacking into a Foscam FI9853EP camera, part 2
- Hacking into a Foscam FI9853EP camera, part 1
Recent Comments
Category Archives: Uncategorized
Implementing a std::function<>-like wrapper in C++, part 3: using a static storage buffer
Previously, we’ve made our version of std::move_only_function<> generic so that it can be used to store any function signature, regardless of the number of parameters or return type. The implementation we’ve ended up with is the following: This works for … Continue reading