Opened 14 years ago
Closed 14 years ago
#2677 closed Bugs (invalid)
unnecessary inconsistency in boost:::program_options examples
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | program_options |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The example programs all have main declared as follows:
int main(int ac, char* av[])
This should be "argc", "argv" to be consistent with the rest of the known C/C++ universe.
Is saving four letters really worth introducing a variation from 30+ years worth of examples, going all the way back to K&R(78)?
Change History (2)
comment:1 by , 14 years ago
Component: | None → program_options |
---|---|
Owner: | set to |
comment:2 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.