Registry / utility / boost-lambda

boost-lambda

JSON →
library1.90.0vcpkgunverified

Boost lambda module provides lambda expressions for C++.

vcpkg install boost-lambda
INSTALL
IMPORT
SIG · BOOST-LAMBDA
B
boost-lambda
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/lambda/lambda.hpp
#include <boost/lambda/lambda.hpp>

Use lambda expressions to transform vector elements

#include <boost/lambda/lambda.hpp> #include <iostream> #include <vector> #include <algorithm> int main() { using namespace boost::lambda; std::vector<int> v = {1, 2, 3, 4, 5}; std::for_each(v.begin(), v.end(), std::cout << _1 * 2 << " "); return 0; }
Debug
Known issues
breakingBoost.Lambda is deprecated in favor of C++11 lambda expressions.
fix
Use standard C++ lambdas instead of Boost.Lambda for new code.
affects: >=1.73.0
Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources

No resource links recorded.

boost-lambda — pip install boost-lambda · libregistry