摘要: https://godbolt.org/z/rh6cK4acx atomic_int a = 10; if (++a == 10) { } if (a.fetch_add(1) == 9) { } 阅读全文
posted @ 2024-01-10 16:04 stdpain 阅读(15) 评论(0) 推荐(0) 编辑