Skip to content

add support for positional arguments as width and precision specifiers#4643

Merged
vitaut merged 2 commits intofmtlib:masterfrom
KareemOtoum:master
Jan 5, 2026
Merged

add support for positional arguments as width and precision specifiers#4643
vitaut merged 2 commits intofmtlib:masterfrom
KareemOtoum:master

Conversation

@KareemOtoum
Copy link
Copy Markdown
Contributor

this commit adds support for using positional arguments as width and precision specifiers in printf.h format strings (including as width/precision for float formats) as pointed out by issue #4636.
Tests have been added to printf-test.cc

Copy link
Copy Markdown
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Overall looks good but please fix CI failures.

@vitaut vitaut merged commit 6b018ed into fmtlib:master Jan 5, 2026
41 checks passed
@vitaut
Copy link
Copy Markdown
Contributor

vitaut commented Jan 5, 2026

Thank you!

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.

2 participants