Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The example I linked uses alignas, but the key is knowing what value to pass. std::hardware_destructive_interference_size tells you what the current/target hardware's correct align value is, which is the challenge.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: