Skip to content

✨ Add num_fmt_specifiers #212

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

Merged
merged 1 commit into from
Mar 31, 2025
Merged

✨ Add num_fmt_specifiers #212

merged 1 commit into from
Mar 31, 2025

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Mar 30, 2025

Problem:

  • There is no way for a caller to easily know how many format specifiers are in a string. This is already known to ct_format internally, and is useful information to callers.

Solution:

  • Add num_fmt_specifiers.

Note:

  • This is a building block for CIB_FATAL, allowing extra arguments to be passed along to stdx::panic.

Problem:
- There is no way for a caller to easily know how many format specifiers are in
  a string. This is already known to `ct_format` internally, and is useful
  information to callers.

Solution:
- Add `num_fmt_specifiers`.

Note:
- This is a building block for `CIB_FATAL`, allowing extra arguments to be
  passed along to `stdx::panic`.
@elbeno elbeno enabled auto-merge March 30, 2025 16:26
@elbeno elbeno merged commit 01be679 into intel:main Mar 31, 2025
36 checks passed
@elbeno elbeno deleted the add-num-fmt-specs branch April 9, 2025 01:24
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