Registry / utility / function2

function2

JSON →
library4.2.5vcpkgunverified

Improved drop-in replacement to std::function

vcpkg install function2
INSTALL
IMPORT
SIG · FUNCTION2
F
function2
utilitycppv4.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

function2/function2.hpp
#include <function2/function2.hpp>

Create and call a function2 object

#include <function2/function2.hpp> #include <iostream> int main() { fu2::function<int(int, int)> f = [](int a, int b) { return a + b; }; std::cout << f(3, 4) << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.2.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.