Skip to content

Comments

Enable fmt feature#524

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_874151938
Open

Enable fmt feature#524
copybara-service[bot] wants to merge 1 commit intomainfrom
test_874151938

Conversation

@copybara-service
Copy link

Enable fmt feature

google3 has two main ways to format in C++:

  • AbslStringify is preferred for new types.
  • operator<< is defined for older types in google3 and types defined outside of google3.

So: upon detecting a formatter, generate bindings to Display and (unless derived) Debug impls.

@google-cla
Copy link

google-cla bot commented Feb 23, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

So: upon detecting a formatter, generate bindings to `Display` and (unless derived) `Debug` `impl`s.
PiperOrigin-RevId: 874151938
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants