fmt background

This commit is contained in:
Patricia Aas 2021-10-06 09:39:10 +02:00
parent 92f2c0669e
commit d426b3dfff
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,13 @@
## Background: {fmt}
"{fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams."
[From the {fmt} GitHub page](https://github.com/fmtlib/fmt)
In C++20 we are getting parts of this functionality in [std::format](https://en.cppreference.com/w/cpp/utility/format).
In C++23 we might get `std::print`.
## Exercise
1. Play with Hello World on [Godbolt](https://godbolt.org/z/8oxsGG8WM)