{"url":"https://yohhoy.hatenadiary.jp/entry/20201119/p1","type":"rich","height":"190","author_name":"yohhoy","version":"1.0","title":"\u30b3\u30f3\u30bb\u30d7\u30c8\u3068\u77ed\u7d61\u8a55\u4fa1","width":"100%","categories":["C++","C++2a"],"published":"2020-11-19 00:00:00","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20201119%2Fp1\" title=\"\u30b3\u30f3\u30bb\u30d7\u30c8\u3068\u77ed\u7d61\u8a55\u4fa1 - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"C++2a(C++20)\u30b3\u30f3\u30bb\u30d7\u30c8\u306e\u5236\u7d04\u5f0f(constraint-expression)\u3067\u306f\u3001\u8ad6\u7406\u6f14\u7b97&&, ||\u306f\u77ed\u7d61\u8a55\u4fa1\u3055\u308c\u308b\u3002*1C++17\u73fe\u5728\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u306fstd::conjunction, std::disjunction\u30e1\u30bf\u95a2\u6570\u3092\u5fc5\u8981\u3068\u3059\u308b\u304c\u3001C++2a\u30b3\u30f3\u30bb\u30d7\u30c8\u5c0e\u5165\u306b\u3088\u308a\u81ea\u7136\u306a\u5236\u7d04\u8a18\u8ff0\u304c\u53ef\u80fd\u3068\u306a\u308b\u3002 T\u578b\u304c\u300cstd::atomic<T>\u304c\u5e38\u306b\u30ed\u30c3\u30af\u30d5\u30ea\u30fc(lock free)\u304b\u5426\u304b\u300d\u3092\u5224\u5b9a\u3059\u308b\u30e1\u30bf\u95a2\u6570\u306f\u3001std::conjunction\u30e1\u30bf\u95a2\u6570\u3092\u5229\u7528\u3057\u3066\u4e0b\u8a18\u306e\u901a\u308a\u306b\u8a18\u8ff0\u3067\u304d\u308b\u3002 // C++17 #include <atomic> #include <typ\u2026","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/yohhoy/","blog_title":"yohhoy\u306e\u65e5\u8a18","blog_url":"https://yohhoy.hatenadiary.jp/"}