This commit is contained in:
Frank B. Brokken 2015-05-28 15:35:36 +02:00
parent e80cd28188
commit 4344bc0e19

View file

@ -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