aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/cpp-style-guide.md
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2016-06-10 00:29:03 -0700
committerGravatar vjpai <vpai@google.com>2016-06-10 00:29:03 -0700
commit967e378f197604f67cd48ddba259c191992ea6b0 (patch)
treea1a385f80d59607ea3ea4f5339c0948b098393fd /doc/cpp-style-guide.md
parent41c7d01feac733622a592f854ed8af59a28a9849 (diff)
More docs
Diffstat (limited to 'doc/cpp-style-guide.md')
-rw-r--r--doc/cpp-style-guide.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/cpp-style-guide.md b/doc/cpp-style-guide.md
index c16f6ffc42..5feefae06a 100644
--- a/doc/cpp-style-guide.md
+++ b/doc/cpp-style-guide.md
@@ -34,6 +34,7 @@ C++11 constructs. Here are some guidelines, to be extended as needed:
// code
}
```
+
are not allowed and should be replaced with code such as
```c
for (auto it = vec.begin; it != vec.end(); it++) {
@@ -41,6 +42,7 @@ C++11 constructs. Here are some guidelines, to be extended as needed:
// code
}
```
+
- Do not use lambda of any kind (no capture, explicit capture, or
default capture). Other C++ functional features such as
`std::function` or `std::bind` are allowed