Socializing with {fmt}
summary
Describes the {fmt} formatting library: how to write custom formatters for user types, its template-based API that compiles to fast code, and the internal memory buffer (about 500 characters) that controls when heap allocations occur. Demonstrations include integration with std::chrono and streams, using explicit and implicit conversion operators for localization, and a reference implementation; it also notes template explosion risks and advises when to prefer simple formatting over heavy metaprogramming.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 6:30History of {fmt}
- 15:51Core capabilities
- 26:52Template architecture
- 36:29Custom formats
- 45:00Conversion operators
- 53:15Future development
- 1:02:39Q&A
related talks
48mThe C++20 Firehose Talk
01h 00mC++23: An Overview of Almost All New and Updated Features
01h 00mModern C++: C++ Patterns to Make Embedded Programming More Productive
54mModern Template Techniques
23mFunctional Programming in C++ (Run time vs Compile time types)
28mWriting Idiomatic Libraries in Rust
01h 00mC++20 - the hidden pearls
01h 02mEmbedded Friendly C++: Features That Make a Difference
