hsf-training / hsf-training/cpluspluscourse
Add slides on `std::format` and `std::print`
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 313
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
In C++20 we got std::format and in C++23 we will get std::print. Especially the latter is quite important for beginners, as it will offer a better alternative to std::cout. And the syntax is closer to python as well :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked cppreference page for std::format and the WG21 P2093 proposal for std::print, then inspect the course's existing slide materials to find the relevant C++ I/O section. Done means adding slides that introduce both features, explain why std::print is an alternative to std::cout, and show their Python-like syntax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100