Hacker News new | ask | show | jobs
by uecker 871 days ago
You do not need to wrap arrays into structs to prevent decay. You just take the address as you would do for any other type:

https://godbolt.org/z/Y73j8a7Yf