{"provider_name":"Hatena Blog","image_url":null,"blog_url":"https://yohhoy.hatenadiary.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20231221%2Fp1\" title=\"\u98fd\u548c\u6f14\u7b97\u30b5\u30dd\u30fc\u30c8 @ C++26 - 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>","author_url":"https://blog.hatena.ne.jp/yohhoy/","blog_title":"yohhoy\u306e\u65e5\u8a18","title":"\u98fd\u548c\u6f14\u7b97\u30b5\u30dd\u30fc\u30c8 @ C++26","published":"2023-12-21 00:00:00","categories":["C++","C++2c"],"height":"190","description":"C++2c(C++26)\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u8ffd\u52a0\u3055\u308c\u308b\u98fd\u548c\u6f14\u7b97(saturation arithmetic)\u30b5\u30dd\u30fc\u30c8\u306b\u3064\u3044\u3066\u30e1\u30e2\u30022026-04-22\u8ffd\u8a18\uff1a2026\u5e743\u6708\u4f1a\u5408\u3067P4052R0\u304c\u63a1\u629e\u3055\u308c\u3001\u95a2\u6570\u540d\u79f0\u306e\u5909\u66f4op_sat\u2192saturating_op, saturate_cast\u2192saturating_cast\u304c\u884c\u308f\u308c\u305f\u3002 // C++2c <numeric>\u30d8\u30c3\u30c0 (P4052R0) namespace std { // T,U = \u7b26\u53f7\u4ed8\u304d\u6574\u6570\u578b or \u7b26\u53f7\u7121\u3057\u6574\u6570\u578b template<class T> constexpr T saturating_add(T x, T y) noexc\u2026","version":"1.0","provider_url":"https://hatena.blog","author_name":"yohhoy","type":"rich","url":"https://yohhoy.hatenadiary.jp/entry/20231221/p1","width":"100%"}