Skip to content

Commit

Permalink
scan.h: fixed Manual indexing example
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxlynxlynx authored Jul 29, 2024
1 parent f3b00ec commit 5929f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/scn/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -7337,7 +7337,7 @@ constexpr void check_regex_type_specs(const format_specs& specs,
*
* // Manual indexing
* auto b = scn::scan<int, int>("2 to 300", "{1} to {0}");
* // b->values() == (3, 200)
* // b->values() == (300, 2)
*
* // INVALID:
* // Automatic and manual indexing is mixed
Expand Down

0 comments on commit 5929f8b

Please sign in to comment.