TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why is std:hardware_destructive_interference_size compile-time, not run-time?

5 点作者 aw1621107将近 2 年前

1 comment

aw1621107将近 2 年前
Full title is &quot;Why is std::hardware_destructive_interference_size a compile-time constant instead of a run-time value?&quot;, but I had to tweak the wording to get it to fit in HN&#x27;s title length limit. Hopefully it isn&#x27;t too confusing; alternative title suggestions welcome.<p>&#x2F;r&#x2F;cpp discussion at <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;cpp&#x2F;comments&#x2F;12xybl0&#x2F;why_is_stdhardware_destructive_interference_size&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;cpp&#x2F;comments&#x2F;12xybl0&#x2F;why_is_stdhard...</a>