SaaSHub helps you find the best software and product alternatives Learn more →
Function2 Alternatives
Similar projects and alternatives to function2
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
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
-
-
LSHBOX
A c++ toolbox of locality-sensitive hashing (LSH), provides several popular LSH algorithms, also support python and matlab.
-
-
-
-
-
binutils-gdb
Discontinued Unofficial mirror of sourceware binutils-gdb repository. Updated daily. [GET https://api.github.com/repos/bminor/binutils-gdb: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]
-
-
-
f-code
Discontinued a C++ library consisting of basic functionality [GET https://api.github.com/repos/StanislavPetrov15/f-code: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]
-
-
-
function2 discussion
function2 reviews and mentions
- Simplest C++ Callback, from SumatraPDF
-
Callbacks in embedded | heapless environment
Fixed size function wrappers are not only limited and also a waste of space. Use a configurable function wrapper like fu2 with a stack allocator and set small object optimizer capacity to 0.
- Scriptable Headless Player Bots and independent ECS in a Custom UE C++ Server for MMO(RPG)s.
- A custom C++ server for the Unreal Engine 5, optimized for MMO(RPG)s.
-
A simple std::function alternative that never allocates
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.
-
Idle: an asynchronous and hot-reloadable C++ dynamic component framework
Thank you, function2 is also used heavily in Idle as a type-erasure backend for continuable that is the primary asynchronous task abstraction.
- Should std::function's move assignment operation be noexcept?
-
Orthodox C++
You can write your own std::function, too, nor is it the only STL type that can take a capturing lambda (std::packaged_task for example).
A capturing lambda is just a class with an operator(). It's complicated to do what std::function does, but fully possible.
In fact, custom std::function replacements have better lambda support than std::function itself. Such as unique_function in https://github.com/Naios/function2 which can handle non-copyable lambdas.
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Jun 2026
Stats
Naios/function2 is an open source project licensed under gtkbook License which is not an OSI approved license.
The primary programming language of function2 is C++.