summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@google.com>2017-07-01 19:30:55 (GMT)
committerCarlos O'Ryan <coryan@google.com>2017-07-01 19:30:55 (GMT)
commit2fcbc0c1ab4877f2a149fe2b4760fd2bf182d0b1 (patch)
treeaa8a1e1923655ca1152cea2f06f3474d09492add /googlemock
parentf20797bd8dd1c5ea3ae95218abdf3807be497993 (diff)
downloadgoogletest-2fcbc0c1ab4877f2a149fe2b4760fd2bf182d0b1.zip
googletest-2fcbc0c1ab4877f2a149fe2b4760fd2bf182d0b1.tar.gz
googletest-2fcbc0c1ab4877f2a149fe2b4760fd2bf182d0b1.tar.bz2
Remove silly claim that C++ lacks lambdas.
The document itself uses lambdas later, all the scaffolding to work around lack of lambdas should be considered for removal, but that is much larger an effort than I can commit to.
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/docs/CookBook.md6
-rw-r--r--googlemock/docs/v1_5/CookBook.md6
-rw-r--r--googlemock/docs/v1_6/CookBook.md6
-rw-r--r--googlemock/docs/v1_7/CookBook.md6
4 files changed, 12 insertions, 12 deletions
diff --git a/googlemock/docs/CookBook.md b/googlemock/docs/CookBook.md
index 5c1e5b8..4f8e944 100644
--- a/googlemock/docs/CookBook.md
+++ b/googlemock/docs/CookBook.md
@@ -1920,9 +1920,9 @@ using ::testing::_;
// second argument DoThis() receives.
```
-Arghh, you need to refer to a mock function argument but C++ has no
-lambda (yet), so you have to define your own action. :-( Or do you
-really?
+Arghh, you need to refer to a mock function argument but your version
+of C++ has no lambdas, so you have to define your own action. :-(
+Or do you really?
Well, Google Mock has an action to solve _exactly_ this problem:
diff --git a/googlemock/docs/v1_5/CookBook.md b/googlemock/docs/v1_5/CookBook.md
index f85bc3b..0b25d2c 100644
--- a/googlemock/docs/v1_5/CookBook.md
+++ b/googlemock/docs/v1_5/CookBook.md
@@ -1773,9 +1773,9 @@ using ::testing::_;
// second argument DoThis() receives.
```
-Arghh, you need to refer to a mock function argument but C++ has no
-lambda (yet), so you have to define your own action. :-( Or do you
-really?
+Arghh, you need to refer to a mock function argument but your version
+of C++ has no lambdas, so you have to define your own action. :-(
+Or do you really?
Well, Google Mock has an action to solve _exactly_ this problem:
diff --git a/googlemock/docs/v1_6/CookBook.md b/googlemock/docs/v1_6/CookBook.md
index 5224661..16b75a3 100644
--- a/googlemock/docs/v1_6/CookBook.md
+++ b/googlemock/docs/v1_6/CookBook.md
@@ -1841,9 +1841,9 @@ using ::testing::_;
// second argument DoThis() receives.
```
-Arghh, you need to refer to a mock function argument but C++ has no
-lambda (yet), so you have to define your own action. :-( Or do you
-really?
+Arghh, you need to refer to a mock function argument but your version
+of C++ has no lambdas, so you have to define your own action. :-(
+Or do you really?
Well, Google Mock has an action to solve _exactly_ this problem:
diff --git a/googlemock/docs/v1_7/CookBook.md b/googlemock/docs/v1_7/CookBook.md
index 94a9a48..21cb2cb 100644
--- a/googlemock/docs/v1_7/CookBook.md
+++ b/googlemock/docs/v1_7/CookBook.md
@@ -1869,9 +1869,9 @@ using ::testing::_;
// second argument DoThis() receives.
```
-Arghh, you need to refer to a mock function argument but C++ has no
-lambda (yet), so you have to define your own action. :-( Or do you
-really?
+Arghh, you need to refer to a mock function argument but your version
+of C++ has no lambdas, so you have to define your own action. :-(
+Or do you really?
Well, Google Mock has an action to solve _exactly_ this problem: