r/cpp • u/Krystian-Piekos • Apr 08 '26
Hashing in C++26
https://blog.infotraining.pl/hashing-in-cpp-26How to implement hash for custom classes in C++26.
80
Upvotes
r/cpp • u/Krystian-Piekos • Apr 08 '26
How to implement hash for custom classes in C++26.
View all comments
Show parent comment
1
u/pdp10gumby Apr 08 '26
Some programs notoriously use "smart quotes" where they use proper opening and closing quotation marks regardless what keypress you make. So in running text you may see this, and the reddit editor does this substitution. Interestingly I see the apostrophe you mention in my comment to which you replied. But in the text box where I'm entering this comment, the two apostrophes (for I am in this sentence and it is in the next) show as the vertical character. Hmm...when I press "comment" I guess it will make the transformation...to the double quotes too?
If it's in code that's weird. The whole point of a code editor is not to do this.
Let me use the three backticks to see what it does: ```'```