mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
typo
This commit is contained in:
parent
e80cd28188
commit
4344bc0e19
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ examples:
|
|||
verb(
|
||||
using namespace placeholders;
|
||||
auto ftor1 = bind(sub, _1, 4); // 1st argument must be specified
|
||||
ftor1(10); // returns 10 - 6 = 6
|
||||
ftor1(10); // returns 10 - 4 = 6
|
||||
|
||||
auto ftor2 = bind(sub, 5, _1); // 2nd argument must be specified
|
||||
ftor2(10); // returns 5 - 10 = -5
|
||||
|
|
Loading…
Reference in a new issue