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 and eliaskosunen committed Nov 2, 2024
1 parent a0e0ebe commit 4666eca
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 @@ -7348,7 +7348,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 4666eca

Please sign in to comment.