Registry / utility / boost-hof

boost-hof

JSON →
library1.90.0vcpkgunverified

Boost hof module provides higher-order functions for C++.

vcpkg install boost-hof
INSTALL
IMPORT
SIG · BOOST-HOF
B
boost-hof
utilitycppv1.90.0
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.

boost/hof.hpp
#include <boost/hof.hpp>

Use boost::hof::partial to create a partial function.

#include <boost/hof.hpp> #include <iostream> int main() { auto add = [](int a, int b) { return a + b; }; auto add_one = boost::hof::partial(add, 1); std::cout << add_one(2) << std::endl; // Output: 3 return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources

No resource links recorded.