SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 3 C++

Add [[nodiscard]] to many APIs.

This covers two types of failures:
* Methods that are logically const and failure to consume the result indicates a bug
  (an unnecessary call, etc.)
* Methods that return significant errors (failure to parse, etc.) that should not be
  unintentionally ignored.

PiperOrigin-RevId: 842042770
C
Chris Kennelly committed
d170d28b0dcfbe2cf0b08058d0fe2d0f8b1f0df6
Parent: 0702b26
Committed by Copybara-Service <copybara-worker@google.com> on 12/9/2025, 5:06:53 AM