Mateusz Pusz f8abbeffc0 Add separator choice to the ' digit grouping option
Extend the grammar to grouping ::= "'" [" " | "," | "_" | "'"]:

- '  : U+202F (U+0020 for char if the literal encoding is not UTF-8),
       groups the integer and fraction parts, may be combined with L
- ' (apostrophe and space): U+0020, otherwise the same as '
- ', '_ '' : the given character, groups only the integer part;
       combining them with L is an error

All forms share the presentation type restrictions, the grouping of
zero padding and the four-digit exception macro. The separator kind is
stored in a 3-bit field of basic_specs (fmt::group_separator).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 18:56:49 +02:00
..
add-subdirectory-test Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
compile-error-test Add separator choice to the ' digit grouping option 2026-10-21 18:56:49 +02:00
cuda-test Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
find-package-test Bump tested CMake version to 3.25 2022-11-30 08:09:32 -08:00
fuzzing Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
gtest Apply cmake-format 2026-03-03 15:49:40 -08:00
static-export-test Bump tested CMake version to 3.25 2022-11-30 08:09:32 -08:00
args-test.cc Simplify named_arg_count test 2026-09-11 08:05:34 -07:00
assert-test.cc Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
c-test.c Add a test for fmt_print 2026-06-08 08:18:43 +02:00
chrono-test.cc Fix weekday and day of year when formatting year_month_day (#4978) 2026-10-18 07:14:35 -07:00
CMakeLists.txt Add ' format option for ISO 80000-1 digit grouping 2026-10-20 13:26:04 +02:00
color-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
compile-test.cc Fix FMT_COMPILE with ranges, tuples and maps (#4974) 2026-10-18 07:11:07 -07:00
core-test.cc Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
detect-stdfs.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
enforce-checks-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
enum-test.cc Format enums annotated with fmt::as_underlying 2026-09-26 11:07:11 -07:00
format-impl-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
format-test.cc Add separator choice to the ' digit grouping option 2026-10-21 18:56:49 +02:00
gtest-extra-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
gtest-extra.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
gtest-extra.h Unify copyright notices 2026-05-31 08:54:06 -07:00
header-only-test.cc Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
iso-grouping-min2-test.cc Add separator choice to the ' digit grouping option 2026-10-21 18:56:49 +02:00
mock-allocator.h Unify copyright notices 2026-05-31 08:54:06 -07:00
module-test.cc Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
no-builtin-types-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
noexception-test.cc Make base.h a compatibility header 2026-09-07 17:11:35 -07:00
os-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
ostream-test.cc Enable ASan and UBSan in supported Linux CI builds (#4969) 2026-10-08 11:42:47 -07:00
perf-sanity.cc Cleanup test 2024-07-17 06:59:24 -07:00
posix-mock-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
posix-mock.h Unify copyright notices 2026-05-31 08:54:06 -07:00
printf-test.cc Simplify printf flag tests 2026-10-17 07:16:33 -07:00
ranges-odr-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
ranges-test.cc Remove redundant escape tests 2026-10-04 08:30:56 -07:00
scan-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
scan.h Unify copyright notices 2026-05-31 08:54:06 -07:00
std-test.cc Fix out-of-bounds read in error code format parsing (#4934) 2026-09-07 11:35:29 -07:00
test-assert.h Unify copyright notices 2026-05-31 08:54:06 -07:00
test-main.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
unicode-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
util.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
util.h Unify copyright notices 2026-05-31 08:54:06 -07:00
xchar-test.cc Add separator choice to the ' digit grouping option 2026-10-21 18:56:49 +02:00