Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use std::numeric_limits instead of ComponentStringifyFormat #16372

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

copybara-service[bot]
Copy link

Use std::numeric_limits instead of ComponentStringifyFormat

Adding new supported types for the exhaustive tests requires implemented overloads ComponentStringifyFormat, but we can write a single implementation that works for all types using std::numeric_limits constants and C-style printf *.* format specifiers to provide the widths at runtime.

Adding new supported types for the exhaustive tests requires implemented overloads `ComponentStringifyFormat`, but we can write a single implementation that works for all types using `std::numeric_limits` constants and C-style printf `*.*` format specifiers to provide the widths at runtime.

PiperOrigin-RevId: 669049658
@copybara-service copybara-service bot merged commit 4670e52 into main Aug 29, 2024
@copybara-service copybara-service bot deleted the test_666515790 branch August 29, 2024 20:54
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