Add guidance to prefer braced initialization over static_cast
Document preference for Type{value} (e.g. int{kConstant}) over
static_cast<Type>(value) when casting constants or values where narrowing
is not intended in g3doc style guide and pre-reviewer skill.
Bug: none
Change-Id: Ieec26b7f5b2d26900c680e1fc5f8854c105753f2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/506040
Auto-Submit: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org>
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#48749}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.