aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/cpp-style-guide.md
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2016-06-11 08:10:45 -0700
committerGravatar vjpai <vpai@google.com>2016-06-11 08:10:45 -0700
commit77a927be5af179eba8f9c272950800dd03b349a7 (patch)
tree8e898bd080670f88d4446cf7453e6102720fcb8a /doc/cpp-style-guide.md
parentbd67b559f50639a5ad8152c591fac945e8a843f1 (diff)
Digraph
Diffstat (limited to 'doc/cpp-style-guide.md')
-rw-r--r--doc/cpp-style-guide.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/cpp-style-guide.md b/doc/cpp-style-guide.md
index 271ff3984c..9408c4abd6 100644
--- a/doc/cpp-style-guide.md
+++ b/doc/cpp-style-guide.md
@@ -79,4 +79,7 @@ default capture). Other C++ functional features such as
constructor
to be available.
- Don't use `std::this_thread` . Use `gpr_sleep_until` for sleeping a thread.
-
+- [Some adjacent character combinations cause problems]
+ (https://en.wikipedia.org/wiki/Digraphs_and_trigraphs#C). If declaring a
+ template against some class relative to the global namespace,
+ `<::name` will be non-portable. Separate the `<` from the `:` and use `< ::name`.