From 1b6a30ddccdd1a82d96f08fab4328449152c5a40 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Wed, 11 Sep 2019 09:02:23 +0200 Subject: [PATCH] Update WebRTC's C++ style guide to reflect the switch to C++14. No-Try: True Bug: webrtc:10945 Change-Id: Ife5d5c12144e00aeefd5ccfe8470c8741ad8eb54 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/151460 Commit-Queue: Mirko Bonadei Reviewed-by: Karl Wiberg Reviewed-by: Danil Chapovalov Cr-Commit-Position: refs/heads/master@{#29194} --- style-guide.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/style-guide.md b/style-guide.md index 2a35fdc5d1..8289f261dd 100644 --- a/style-guide.md +++ b/style-guide.md @@ -22,14 +22,14 @@ both. ### C++ version -WebRTC is written in C++11, but with some restrictions: +WebRTC is written in C++14, but with some restrictions: -* We only allow the subset of C++11 (language and library) in the - “allowed” section of [this Chromium page][chromium-cpp11]. -* We only allow the subset of C++11 that is also valid C++14; - otherwise, users would not be able to compile WebRTC in C++14 mode. +* We only allow the subset of C++14 (language and library) that is not + banned by Chromium; see [this page][chromium-cpp]. +* We only allow the subset of C++14 that is also valid C++17; + otherwise, users would not be able to compile WebRTC in C++17 mode. -[chromium-cpp11]: https://chromium-cpp.appspot.com/ +[chromium-cpp]: https://chromium-cpp.appspot.com/ ### Abseil