Recent Posts
- [Contributed] How to: get root on a Foscam FI9831W (2017)
- 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
Recent Comments
Monthly Archives: March 2024
Implementing a std::function<>-like wrapper in C++, part 2: generalizing the return type and arguments
Introduction Previously, we’ve seen a way to implement our own version of std::move_only_function<>. The implementation we ended up with is as follows: This works for any movable function, for example: Unfortunately, it is restricted to the function prototype int fn(int, … Continue reading