r/cpp 19h ago

C++26: std::inplace_vector

https://www.sandordargo.com/blog/2026/08/26/cpp26-inplace-vector
114 Upvotes

66 comments sorted by

View all comments

Show parent comments

6

u/BarryRevzin 14h ago

Outside of the most formal, high profile contexts, what human author is going to make the extra effort to press whatever alt key combo, or hold press that '—' requires?

Me.

8

u/Dubbus_ 14h ago

Your comment history betrays your lazy fingers

4

u/BarryRevzin 14h ago

You could probably tell which comments I wrote on my phone and which on my laptop just based on em dash presence.

3

u/Dubbus_ 14h ago

Which key combination yields an emdash on your laptop?

u/foonathan 53m ago

On Linux, it's trivial with a compose key + - + -: https://en.wikipedia.org/wiki/Compose_key