C++ BOOST The Boost Lambda Library

The Boost Lambda Library is free software; Permission to copy, use, modify and distribute this software and its documentation is granted, provided this copyright notice appears in all copies.


Table of Contents

1. In a nutshell
2. Getting Started
2.1. Installing the library
2.2. Conventions used in this document
3. Introduction
3.1. Motivation
3.2. Introduction to lambda expressions
4. Using the library
4.1. Introductory Examples
4.2. Parameter and return types of lambda functors
4.3. About actual arguments to lambda functors
4.4. Storing bound arguments in lambda functions
5. Lambda expressions in details
5.1. Placeholders
5.2. Operator expressions
5.3. Bind expressions
5.4. Overriding the deduced return type
5.5. Delaying constants and variables
5.6. Lambda expressions for control structures
5.7. Exceptions
5.8. Construction and destruction
5.9. Special lambda expressions
5.10. Casts, sizeof and typeid
5.11. Nesting STL algorithm invocations
6. Extending return type deduction system
7. Practical considerations
7.1. Performance
7.2. About compiling
7.3. Portability
8. Relation to other Boost libraries
8.1. Boost Function
8.2. Boost Bind
9. Contributors
A. Rationale for some of the design decisions
1. Lambda functor arity
Bibliography

1. In a nutshell

Boost Lambda Library(ʹ BLL ) C++ ˤƤ C++ Υƥץ졼ȥ饤֥Ǥ롣 θդϴؿ˷׻ͳ褷ǤϦݤ̵̾δؿ롣 BLLμưSTLΥ르ꥺΤ̵̾δؿ֥ȤǴؤˡ󶡤뤳ȤǤ롣 Υ饤֥꤬ɤʤΤǤ뤫ϡդ¤٤Ƥñʥɤ򸫤ۤ򤷤䤹 ΰԤϤSTLƥ a ǤǶڤäƽϤ롣

for_each(a.begin(), a.end(), std::cout << _1 << ' ');
std::cout << _1 << ' 'ñؿ֥ȤƤ롣 ѿ_1ϤδؿβǤꡢ°ΤΥץ졼ۥǤ롣 for_eachη֤ΤӤˡδؿaΰĤǤ°ȤƸƽФ롣 μ°ϥץ졼ۥȤݲ졢δؿ ‘’ ɾ롣

BLLܼϾˤ褦ʾ̵̾δؿ֥ȤSTL르ꥺƽФľ뤳Ȥǽˤ뤳ȤǤ롣