4.1.0
-
Added
fmt::to_wstring()
in addition tofmt::to_string()
(#559). Thanks @alabuzhev (Alex Alabuzhev). -
Added support for C++17
std::string_view
(#571 and #578). Thanks @thelostt (Mário Feroldi) and @mwinterb. -
Enabled stream exceptions to catch errors (#581). Thanks @crusader-mike.
-
Allowed formatting of class hierarchies with
fmt::format_arg()
(#547). Thanks @rollbear (Björn Fahller). -
Removed limitations on character types (#563). Thanks @Yelnats321 (Elnar Dakeshov).
-
Conditionally enabled use of
std::allocator_traits
(#583). Thanks @mwinterb. -
Added support for
const
variadic member function emulation withFMT_VARIADIC_CONST
(#591). Thanks @ludekvodicka (Ludek Vodicka). -
Various bugfixes: bad overflow check, unsupported implicit type conversion when determining formatting function, test segfaults (#551), ill-formed macros (#542) and ambiguous overloads (#580). Thanks @xylosper (Byoung-young Lee).
-
Prevented warnings on MSVC (#605, #602, and #545), clang (#582), GCC (#573), various conversion warnings (#609, #567, #553 and #553), and added
override
and[[noreturn]]
(#549 and #555). Thanks @alabuzhev (Alex Alabuzhev), @virgiliofornazin (Virgilio Alexandre Fornazin), @alexanderbock (Alexander Bock), @yumetodo, @VaderY (Császár Mátyás), @jpcima (JP Cimalando), @thelostt (Mário Feroldi), and @Manu343726 (Manu Sánchez). -
Improved CMake: Used GNUInstallDirs to set installation location (#610) and fixed warnings (#536 and #556). Thanks @mikecrowe (Mike Crowe), @evgen231 and @henryiii (Henry Schreiner).