std::format Introduction (C++20) - C++ Utilities | Modern Cpp Series Ep. 187

Ғылым және технология

►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!
►KZread Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: courses.mshah.io/communities/...

Пікірлер: 13

  • @gurashimozmel8824
    @gurashimozmel88246 күн бұрын

    thank you man you're awesome I have learned a lot from you …..

  • @MikeShah

    @MikeShah

    6 күн бұрын

    Cheers, I'm happy to hear that 🙂

  • @GaryChike
    @GaryChike9 күн бұрын

    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!

  • @MikeShah

    @MikeShah

    8 күн бұрын

    Good to know! I was trying to get std::format with ranges to work, so I'll try that out!

  • @GaryChike

    @GaryChike

    7 күн бұрын

    @@MikeShah🪐💫

  • @bsdooby
    @bsdooby9 күн бұрын

    A+ for using braced initialization ;)

  • @MikeShah

    @MikeShah

    9 күн бұрын

    Cheers! :)

  • @Chupe_chupe
    @Chupe_chupe9 күн бұрын

    Great video Mike

  • @MikeShah

    @MikeShah

    9 күн бұрын

    Cheers!

  • @kevinchopra9111
    @kevinchopra91119 күн бұрын

    Loads of set theory in this cool...

  • @MikeShah

    @MikeShah

    9 күн бұрын

    Lots of {}'s indeed! 😆

  • @celestialbeing4767
    @celestialbeing47678 күн бұрын

    Vim or neovim user.

  • @MikeShah

    @MikeShah

    8 күн бұрын

    Using vanilla vim right now, might consider neovim

Келесі