diff options
| author | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-01-06 03:57:15 +0100 |
|---|---|---|
| committer | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-01-06 03:57:15 +0100 |
| commit | a8ac5e3dbf41c2610f6df084a4f1bfe637e88973 (patch) | |
| tree | 9b74716d0159cac6047e53ec39b63367f2a0c4c7 | |
| parent | b65a703a2ea65a908655b873d1293560bfde9f56 (diff) | |
| download | cxxformat-a8ac5e3dbf41c2610f6df084a4f1bfe637e88973.tar.gz cxxformat-a8ac5e3dbf41c2610f6df084a4f1bfe637e88973.zip | |
Improve wording
| -rw-r--r-- | cxxformat/formatters.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cxxformat/formatters.hpp b/cxxformat/formatters.hpp index ad253f6..dce3420 100644 --- a/cxxformat/formatters.hpp +++ b/cxxformat/formatters.hpp @@ -197,7 +197,7 @@ namespace format { } }; - // NOTE: Difference to printf: no precision uses std::to_chars’ minimal width for exact representation instead of default precision of 6 + // NOTE: Difference to printf: uses std::to_chars’ minimal width for exact representation when no precision is specified instead of default precision of 6 template<std::floating_point T> struct formatter<T> { static constexpr void format(const format_output auto& out, T t, format_specifier spec, optional_int<std::size_t> minWidth, optional_int<std::size_t> precision) |
