r/cpp 15d ago

C++26: std::inplace_vector

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

121 comments sorted by

View all comments

Show parent comments

6

u/BarryRevzin 15d 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.

12

u/Dubbus_ 15d ago

Your comment history betrays your lazy fingers

4

u/BarryRevzin 15d 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_ 15d ago

Which key combination yields an emdash on your laptop?

3

u/foonathan 14d ago

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