Commit da38967
committed
✨ Add
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`.num_fmt_specifiers
1 parent a1c783d commit da38967
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
232 | 236 | | |
233 | 237 | | |
234 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
0 commit comments