aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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`.