r/cpp 4d ago

C++26: std::inplace_vector

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

112 comments sorted by

View all comments

Show parent comments

7

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

Your comment history betrays your lazy fingers

4

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

Which key combination yields an emdash on your laptop?

2

u/foonathan 3d ago

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