Update link to chromium modern c++ page
The page was renamed in https://chromium-review.googlesource.com/c/chromium/src/+/3399246 Bug: None No-Try: true Change-Id: I7ddfb6c91b61ec071fbac95a30c56161119cc683 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/248863 Auto-Submit: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35783}
This commit is contained in:
parent
4c72f99d67
commit
8ad0be0ab1
@ -28,7 +28,7 @@ WebRTC is written in C++17, but with some restrictions:
|
|||||||
* We only allow the subset of C++17 that is also valid C++20; otherwise, users
|
* We only allow the subset of C++17 that is also valid C++20; otherwise, users
|
||||||
would not be able to compile WebRTC in C++20 mode.
|
would not be able to compile WebRTC in C++20 mode.
|
||||||
|
|
||||||
[chr-style-cpp]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++11.md
|
[chr-style-cpp]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md
|
||||||
|
|
||||||
Unlike the Chromium and Google C++ style guides, we do not allow C++20-style
|
Unlike the Chromium and Google C++ style guides, we do not allow C++20-style
|
||||||
designated initializers, because we want to stay compatible with compilers that
|
designated initializers, because we want to stay compatible with compilers that
|
||||||
@ -146,7 +146,7 @@ In most cases, one will want to explicitly control lifetimes, and therefore use
|
|||||||
exist both from the API users and internally, with no way to invalidate pointers
|
exist both from the API users and internally, with no way to invalidate pointers
|
||||||
held by the API user, `rtc::scoped_refptr` can be appropriate.
|
held by the API user, `rtc::scoped_refptr` can be appropriate.
|
||||||
|
|
||||||
[chr-std-shared-ptr]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++11.md#shared-pointers-banned
|
[chr-std-shared-ptr]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md#shared-pointers-banned
|
||||||
|
|
||||||
### `std::bind`
|
### `std::bind`
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user