fmt/test
Riccardo Brugo 8c9bc070f5
Implement styled arguments (#2793)
* Implement styled arguments

* Inherit from formatter<Arg> to get the underlying `parse` and `format`

* Move styled_arg definition into the previous detail block

* Change styled_arg ctor parameters names to avoid shadowing members

* Move const before auto

* Remove redundant constructor for styled_arg

* Use the iterator instead of the buffer in styled_arg::format

* Remove unnecessary `styled` overloads

* Remove defaulted text_style parameter in styled function
2022-03-08 09:50:14 -08:00
..
add-subdirectory-test Cleanup add-subdirectory-test 2021-05-07 16:42:02 -07:00
compile-error-test add tests for format string compile-time checks 2021-12-27 20:55:06 -08:00
cuda-test
find-package-test Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
fuzzing Detect overflow on large precision 2021-12-05 07:26:58 -08:00
gtest move gtest-specific check into gtest/CMakeLists.txt 2021-12-17 16:05:56 -08:00
static-export-test Fix "undefined reference to `fmt::v7::detail::basic_data<void>::digits'" 2021-06-02 14:33:17 -07:00
args-test.cc Minor code style tweaks for consistency 2021-12-23 11:55:58 -08:00
assert-test.cc gtest: move GTest/GMock files to separate directory, update GTest/GMock usages 2021-04-29 07:11:49 -07:00
chrono-test.cc Fix overflow for chrono durations (#2722) 2022-01-17 12:14:59 -08:00
CMakeLists.txt Fix warning C4251: class fmt::v8::file needs to have dll-interface (#2797) 2022-03-07 12:09:48 -08:00
color-test.cc Implement styled arguments (#2793) 2022-03-08 09:50:14 -08:00
compile-fp-test.cc Always run grisu_gen_digits before fallback_format 2021-09-26 07:54:25 -07:00
compile-test.cc fmt::join support FMT_COMPILE (#2720) 2022-01-14 09:58:49 -08:00
core-test.cc int128_t -> int128_opt 2022-02-17 20:03:25 -08:00
enforce-checks-test.cc Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
format-impl-test.cc Parameterized fp on significand type 2022-02-21 07:25:13 -08:00
format-test.cc Clear moved from memory buffer 2022-02-20 08:12:59 -08:00
gtest-extra-test.cc Replace fmt::error_code to std::error_code 2021-05-09 12:26:19 -07:00
gtest-extra.cc FMT_NOEXCEPT -> noexcept 2022-01-20 16:55:47 -08:00
gtest-extra.h FMT_NOEXCEPT -> noexcept 2022-01-20 16:55:47 -08:00
header-only-test.cc Disable fallback_formatter for arrays 2021-09-03 08:59:36 -07:00
mock-allocator.h Cleanup tests 2021-05-01 17:11:45 -07:00
module-test.cc Replace `make_args_checked with make_format_args` (#2760) 2022-02-13 20:13:35 -08:00
noexception-test.cc Improve noexception test 2021-12-26 16:28:41 -08:00
os-test.cc Depreate strtod and remove problematic tests 2021-08-28 09:20:36 -07:00
ostream-test.cc Simplify ostream opt-in API 2022-02-04 18:33:59 -08:00
posix-mock-test.cc Remove legacy C locale wrapper 2022-02-05 12:37:21 -08:00
posix-mock.h
printf-test.cc Make ostream operators opt in to reduce the risk of ODR violations 2022-02-04 15:06:45 -08:00
ranges-odr-test.cc Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
ranges-test.cc Fixing formatting of certain kinds of ranges of ranges. (#2787) 2022-03-04 16:21:00 -08:00
scan-test.cc Cleanup tests 2021-05-05 18:31:41 -07:00
scan.h Workaround msvc constexpr issues 2021-06-01 13:32:44 -07:00
test-assert.h Move is_char specializations to xchar.h 2021-06-06 15:32:30 -07:00
test-main.cc Switch to threadsafe death test style 2021-07-29 06:56:38 -07:00
unicode-test.cc Replacing strftime with std::time_put (#2550) 2021-10-30 08:25:45 -07:00
util.cc Support alternative locale names in tests 2021-05-24 14:09:19 -07:00
util.h Reformat all source code; no functional changes 2021-11-25 09:15:25 -08:00
xchar-test.cc Simplify ostream opt-in API 2022-02-04 18:33:59 -08:00