std::format Introduction (C++20) - C++ Utilities | Modern Cpp Series Ep. 187
HTML-код
- Опубликовано: 11 сен 2024
- ►Full C++ Series Playlist: • The C++ Programming La...
►Find full courses on: courses.mshah.io/
►Join as Member to Support the channel: / @mikeshah
►Lesson Description: In this lesson we take a look at std::format which was introduced in C++ 20. This was a big innovation for allowing safer and easier access to formatted strings (and by many benchmarks, even more performant!). In this lesson I'll show you how to get started and formatting strings. We'll cover the basics, using positional specifiers to arrange arguments, format specifiers, fill, alignment, and precision! This is an action packed lesson, and I hope you enjoy it! As always, feel free to bring up any questions and discuss what you've learned!
►RUclips Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: courses.mshah....
Nice video on C++20 feature `std::format` ... I'm currently messing with a C++23 feature `std::print` and `std::println` - just have to use a special compiler flag with GCC 14.1.0 `-lstdc++exp` It works!
Good to know! I was trying to get std::format with ranges to work, so I'll try that out!
@@MikeShah🪐💫
thank you man you're awesome I have learned a lot from you …..
Cheers, I'm happy to hear that 🙂
A+ for using braced initialization ;)
Cheers! :)
Great video Mike
Cheers!
Loads of set theory in this cool...
Lots of {}'s indeed! 😆
Vim or neovim user.
Using vanilla vim right now, might consider neovim