#2867 closed Feature Requests (fixed)
Adding a get_expected_args member to format
| Reported by: | Owned by: | Samuel Krempp | |
|---|---|---|---|
| Milestone: | Boost 1.39.0 | Component: | format |
| Version: | Boost 1.38.0 | Severity: | Cosmetic |
| Keywords: | Cc: |
Description
Some use-case of format will be handled in a easier fashion if the expected number fo arguments of a given format was available via a method.
The attached patch proposed Ryan Gallagher and I is an eventual implementation for this feature request.
Attachments (2)
Change History (4)
by , 14 years ago
| Attachment: | format.patch added |
|---|
comment:1 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
I checked the suggested member functions and implemented them plus one (suggested patch was not handling bound args correctly, format::bind_arg is quite different from operator% ) in revision 57734
Note:
See TracTickets
for help on using tickets.

Eventual implementation patch