GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • C++ Senioreas
  • Reddit
  • Discord
  • LinkedIn
  • Telegram
  • GitHub
  • About
  • Projects
  • Contact
  • Talk: Who’s Afraid of the Big Bad Template
  • Reverse Iterations
  • ADL – Avoid Debugging Later
  • It’s just ‘,’ – The Comma Operator
  • Stream Recommendation: Daisy Hollman

This view

  • Original page
  • New address

GeezerVison is showing cppsenioreas.wordpress.com — C++ Senioreas

Templates and metaprogramming considered as the big bad wolf of C++, and it's time to stop being scared of this wolf, as it's one of the most powerful creatures of C++. In this talk I've demonstrated the power of this incredible creature, while I hope that this talk would be an easy enterence to this … Continue reading Talk: Who’s Afraid of the Big Bad Template →

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

Learn the ways to iterate in a reverse order on a container - C++11 to C++20 with a custom, easy to use, method to allow a reverse iterations in a simple way prior to C++20 and without the ranges library.

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

In C++, Argument-Dependent Lookup (ADL) can be a tempting feature to use for cleaner code, but its reliance on context-specific resolution often leads to unexpected behavior. While ADL may seem like an elegant shortcut for function resolution, it can introduce ambiguity and make debugging significantly more challenging. In this article, we explore why you should avoid using ADL in favor of more explicit and predictable function calls. We’ll discuss how ADL can create hidden dependencies between your code’s components and lead to subtle bugs that only emerge in certain conditions. By adhering to more transparent and straightforward function resolution techniques, you can avoid unnecessary complexity and ensure your code is more maintainable, easier to understand, and far less prone to unexpected runtime issues.

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

The comma operator in C++ allows you to evaluate two expressions in a single statement. It evaluates the first expression, discards its result, and then evaluates the second expression, returning its result. While this operator can enhance coding efficiency, it can also lead to unclear code and potential pitfalls if misused, making it important to use it judiciously in your programs. To explore the nuances and best practices of using the comma operator, continue reading this article.

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

Daisy Hollman is an extremely talented developer, who is highly involved in many advanced fields of C++. She is a very close friend of mine, and I highly encourage you to go and check her stream: https://twitter.com/The_Whole_Daisy/status/1843359855912071217?t=cLqwCIwqkijkUrXLPM222w&s=19 Good luck Daisy 🩷

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

From Modern to Unbelievably Modern C++ talk YouTube recording. All the reasons to migrate into a modern C++ standard version.

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

const qualifier not always work the way we expect it to. In this article we will see some cases when the const doesn't protect us from modifications at all.

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

From Modern to Unbelievably Modern C++ CoreC++ talk - experience summarize, and self opinions.

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

Fold-expressions in the extreme. How do fold-expressions behave when there is no arguments? what about a single argument case?

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...

std::string_view can optimize both performance and code readability in code sections which handle strings. However it can also lead to UB and to memory issues if used incorrectly.

Share with friends!

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Mastodon (Opens in new window) Mastodon
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Print (Opens in new window) Print
  • Share on Tumblr (Opens in new window) Tumblr
  • Email a link to a friend (Opens in new window) Email
Like Loading...
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.