5.1.0
版本发布时间: 2018-07-05 21:25:05
fmtlib/fmt最新发布版本:11.0.2(2024-07-20 22:32:04)
-
Added experimental support for RGB color output enabled with the
FMT_EXTENDED_COLORS
macro:#define FMT_EXTENDED_COLORS #define FMT_HEADER_ONLY // or compile fmt with FMT_EXTENDED_COLORS defined #include <fmt/format.h> fmt::print(fmt::color::steel_blue, "Some beautiful text");
The old API (the
print_colored
andvprint_colored
functions and thecolor
enum) is now deprecated. (#762 #767). Thanks @Remotion (Remo). -
Added quotes to strings in ranges and tuples (#766). Thanks @Remotion (Remo).
-
Made
format_to
work withbasic_memory_buffer
(#776). -
Added
vformat_to_n
andwchar_t
overload offormat_to_n
(#764, #769). -
Made
is_range
andis_tuple_like
part of public (experimental) API to allow specialization for user-defined types (#751, #759). Thanks @drrlvn (Dror Levin). -
Added more compilers to continuous integration and increased
FMT_PEDANTIC
warning levels (#736). Thanks @eliaskosunen (Elias Kosunen). -
Fixed compilation with MSVC 2013.
-
Fixed handling of user-defined types in
format_to
(#793). -
Forced linking of inline
vformat
functions into the library (#795). -
Fixed incorrect call to on_align in
'{:}='
(#750). -
Fixed floating-point formatting to a non-back_insert_iterator with sign & numeric alignment specified (#756).
-
Fixed formatting to an array with
format_to_n
(#778). -
Fixed formatting of more than 15 named arguments (#754).
-
Fixed handling of compile-time strings when including
fmt/ostream.h
. (#768). -
Fixed various compiler warnings and errors (#742, #748, #752, #770, #775, #779, #780, #790, #792, #800). Thanks @Remotion (Remo), @gabime (Gabi Melman), @foonathan (Jonathan Müller), @Dark-Passenger (Dhruv Paranjape), and @0x8000-0000 (Sign Bit).
1、 fmt-5.1.0.zip 1008.83KB