fmt/include/fmt
ThePhD 0743b2fe44
(Non-Appending )Output Ranges in fmt::format_(in)to!
- format_to(some_char_array, ...) will now do the right thing for the most part, and also supports appending to existing ranges (using the same conceptual ideals as as std::ranges::to)
- The API for format_to is a bit complicated since we do appending and also pass/support all the existing iterator-based use cases.
- format_into is a cleaner API that accepts ranges and output iterators, and does not do appending for those ranges that it recognizes (just fills in the `[begin, end)`). This is necessary to avoid strange behaviors on whether or not a container may or may not meet the appending requirements (e.g., more consistent in generic code).
- We lose a lot of compile-time performance with how we're checking things now, so not the best job we could be doing....
- Much of that compile-time performance can be gained back with more rigorous return-style enable_if and such, but that is beyond my work
- Actual performance for the calls themselves are only marginally smaller for pointer-based iterators (fmt is, internally, lacking continguous iterator support. Counterpoint; buffers are the only case that matters! (this is a bit of a lie lmaoo))
2023-12-15 14:27:38 -05:00
..
args.h Update docs 2023-06-13 18:58:15 +03:00
chrono.h 🛠 Fix assumptions of Unicode for Clang-on-Windows 2023-12-15 14:27:38 -05:00
color.h (Non-Appending )Output Ranges in fmt::format_(in)to! 2023-12-15 14:27:38 -05:00
compile.h (Non-Appending )Output Ranges in fmt::format_(in)to! 2023-12-15 14:27:38 -05:00
core.h (Non-Appending )Output Ranges in fmt::format_(in)to! 2023-12-15 14:27:38 -05:00
format-inl.h Make clang-format happy 2023-12-13 06:54:51 -08:00
format.h (Non-Appending )Output Ranges in fmt::format_(in)to! 2023-12-15 14:27:38 -05:00
os.h Improve OpenBSD workaround 2023-11-07 09:24:33 -10:00
ostream.h Apply clang-format 2023-12-13 07:18:37 -08:00
printf.h Apply clang-format 2023-10-14 06:52:43 -07:00
ranges.h ♻ Move range checks into core, add new feature testing guards for consistent checks 2023-12-15 14:27:38 -05:00
std.h Apply clang-format 2023-12-13 07:18:37 -08:00
xchar.h (Non-Appending )Output Ranges in fmt::format_(in)to! 2023-12-15 14:27:38 -05:00