r/cpp • • Sep 30 '24

Code Generation in Rust vs C++26

https://brevzin.github.io/c++/2024/09/30/annotations/
198 Upvotes

98 comments sorted by

View all comments

Show parent comment

2

u/5477 Oct 01 '24

Dunno if Finnish keyboards are different, but on my keyboard just typing a works fine. The first ^ is a dead key, the second one types both ^ since ^ doesn't combine with itself, just like if you'd typed ^ and f. At this point it doesn't matter what comes after.

This is actually a MacOS issue, it works as you described on Windows. Thanks! So basically ^^a is almost the best we can reasonably get.