home.social

#cppsenioreas — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cppsenioreas, aggregated by home.social.

fetched live
  1. Learn all about reverse iteration in C++, including a simple pre-C++20 method: `for (auto elem : reverse_view(container))`. No ranges library needed!

    cppsenioreas.wordpress.com/202

  2. We're diving into the dark magic of ADL in C++—a spell that summons hidden dependencies and lurking bugs. Join us as we uncover its secrets and learn how to avoid its traps! ✨🔍

    cppsenioreas.wordpress.com/202

  3. After more than a year I've managed to get a good logo for the article "The Shared, The Unique and The Weak" from ChatGPT:
    cppsenioreas.wordpress.com/202
    🥳🥳
    Feel free to share it with friends :)

  4. ```
    template auto func(Args... args) { return (args || ... ); }

    std::cout << func("str");
    ```

    Does it compile? What will be the output?

    Answers in the article :)
    cppsenioreas.wordpress.com/202

    Special thanks for a lightning conversion Daisy Hollman!

  5. explicit(bool) C++20 feature discussion, motivation, usage example, proposal and more. Basic explanation about explicit and implicit conversions pros and cons.

    cppsenioreas.wordpress.com/202