gtest can print objects if they have an operator<< or a PrintTo function in the same namespace as the object's class. Since std::optional does not seem to have an operator<<, it'd be preferable not to rely on rtc::Optional being printable through operator<<. Currently, gtest errors will just dump the raw bytes of rtc::Optionals, which make them really annoying to work with in tests. BUG=webrtc:7196 Review-Url: https://codereview.webrtc.org/2704483002 Cr-Commit-Position: refs/heads/master@{#16717}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.