Introduce %q and %Q to_stream formatting flags

* These flags format a duration.
* %Q specifies the duration's numeric value.
* %q specifies the duration's SI abbreviation.
* Example: format("%Q %q", 45ms) == "45 ms"
This commit is contained in:
Howard Hinnant committed 2019-01-19 14:30:19 -05:00
1 parent 2cb4c34009
commit 90d0440884
1 file changed
+568 -544
+568 -544
View File
File diff suppressed because it is too large. Load diff