mirror of
https://github.com/boostorg/lambda.git
synced 2026-01-21 04:52:25 +00:00
Compare commits
13 Commits
boost-1.38
...
svn-branch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71201b7f8a | ||
|
|
f010c26cc7 | ||
|
|
5729ebaea7 | ||
|
|
0330a969c7 | ||
|
|
b2dc95bb18 | ||
|
|
797b5756cf | ||
|
|
bd4da55f0f | ||
|
|
47bf3df0ae | ||
|
|
ff0929e6e3 | ||
|
|
9b925abaff | ||
|
|
bf50f2fe7f | ||
|
|
85630d55a6 | ||
|
|
2e8c4eb8f3 |
@@ -44,7 +44,7 @@
|
||||
<para>
|
||||
|
||||
The Boost Lambda Library (BLL in the sequel) is a C++ template
|
||||
library, which implements form of <emphasis>lambda abstractions</emphasis> for C++.
|
||||
library, which implements a form of <emphasis>lambda abstractions</emphasis> for C++.
|
||||
The term originates from functional programming and lambda calculus, where a lambda abstraction defines an unnamed function.
|
||||
The primary motivation for the BLL is to provide flexible and
|
||||
convenient means to define unnamed function objects for STL algorithms.
|
||||
@@ -1908,7 +1908,7 @@ For example:
|
||||
int foo(int); int bar(int);
|
||||
...
|
||||
int i;
|
||||
bind(foo, bind(bar, _1))(i);
|
||||
bind(foo, bind(bar, _1)(i);
|
||||
</programlisting>
|
||||
|
||||
The last line makes the call <literal>foo(bar(i));</literal>
|
||||
@@ -3191,7 +3191,7 @@ to extend the library with new features.
|
||||
|
||||
|
||||
|
||||
<appendix>
|
||||
<section>
|
||||
<title>Rationale for some of the design decisions</title>
|
||||
|
||||
<section id="lambda.why_weak_arity">
|
||||
@@ -3256,7 +3256,7 @@ was dropped.
|
||||
|
||||
</section>
|
||||
|
||||
</appendix>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
boost_module(lambda DEPENDS tuple)
|
||||
@@ -1,5 +1,3 @@
|
||||
boost_additional_test_dependencies(lambda BOOST_DEPENDS test any)
|
||||
|
||||
boost_test_run(algorithm_test DEPENDS boost_test_exec_monitor)
|
||||
boost_test_run(bind_tests_simple DEPENDS boost_test_exec_monitor)
|
||||
boost_test_run(bind_tests_advanced DEPENDS boost_test_exec_monitor)
|
||||
|
||||
Reference in New Issue
Block a user