{"blog_title":"yohhoy\u306e\u65e5\u8a18","width":"100%","provider_url":"https://hatena.blog","author_name":"yohhoy","author_url":"https://blog.hatena.ne.jp/yohhoy/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20200815%2Fp1\" title=\"C++\u30b3\u30f3\u30bb\u30d7\u30c8\u3068\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247 - 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>","published":"2020-08-15 00:00:00","image_url":null,"height":"190","type":"rich","categories":["C++","C++2a"],"url":"https://yohhoy.hatenadiary.jp/entry/20200815/p1","description":"C++2a(C++20)\u30b3\u30f3\u30bb\u30d7\u30c8\u3067\u306f\u5236\u7d04\u5f0f(constraint-expression)\u306b\u8ad6\u7406\u7a4d(&&)\uff0f\u8ad6\u7406\u548c(||)\uff0f\u8ad6\u7406\u5426\u5b9a(!)\u3092\u8868\u73fe\u3067\u304d\u308b\u304c\u3001\u5236\u7d04\u5f0f\u3092\u7528\u3044\u305f\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u89e3\u6c7a\u3067\u306f\u901a\u5e38\u306e\u8ad6\u7406\u6f14\u7b97\u3067\u671f\u5f85\u3055\u308c\u308b \u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247(De Morgan's laws) \u306f\u9069\u7528\u3055\u308c\u306a\u3044\u3002*1\u8d85\u8981\u7d04\uff1a\u5426\u5b9a\u6f14\u7b97!\u3092\u4f7f\u3063\u305f\u30b3\u30f3\u30bb\u30d7\u30c8\u306b\u306f\u8981\u6ce8\u610f\uff01 // C++2a #include <concepts> // integral, same_as\u30b3\u30f3\u30bb\u30d7\u30c8 template <typename T> requires (!std::integral<T>) void f(T) { /*...*/ } \u2026","blog_url":"https://yohhoy.hatenadiary.jp/","version":"1.0","provider_name":"Hatena Blog","title":"C++\u30b3\u30f3\u30bb\u30d7\u30c8\u3068\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247"}