r/cpp 6d ago

C++26: std::inplace_vector

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

121 comments sorted by

View all comments

Show parent comments

6

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

9

u/Dubbus_ 6d ago

Your comment history betrays your lazy fingers

4

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

Which key combination yields an emdash on your laptop?

3

u/foonathan 5d ago

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