SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 3 C++

Added appropriate super-traits to `Enum`.

The `Enum` trait now requires several other traits, including `Singular`, `Into<i32>`, `Copy`, `Proxied`, `EntityType`, and `SealedInternal`. This simplifies bounds in functions that operate on types implementing `Enum`, as they no longer need to explicitly list `+ Singular` and other common requirements.

PiperOrigin-RevId: 888286136
J
Joshua Haberman committed
1c478d59238209ec0bca730b65e2dd4e73603923
Parent: 66dc8f9
Committed by Copybara-Service <copybara-worker@google.com> on 3/23/2026, 9:40:03 PM