{"version":"1.0","blog_title":"\u30b2\u30fc\u30e0\u4f5c\u308a\u306f\u697d\u3057\u3044","title":"\u3010C++\u3011\u30b3\u30f3\u30d1\u30a4\u30eb\u6642 1+1\u306f\uff1f\u307f\u305d\u30b9\u30fc\u30d7","url":"https://mahou-ptr.hatenablog.com/entry/2024/04/20/135708","description":"1+1\u304c\u307f\u305d\u30b9\u30fc\u30d7\u3067\u3042\u308b\u3053\u3068\u306f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u3082\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002 #include <string_view> consteval bool operator ==(int i , std::string_view str) { return i == 2 && str == \"\u307f\u305d\u30b9\u30fc\u30d7\"; } consteval bool operator !=(int i , std::string_view str) { return !(i == str); } int main() { using namespace std::string_view_literals; static_assert(\u2026","published":"2024-04-20 13:57:08","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmahou-ptr.hatenablog.com%2Fentry%2F2024%2F04%2F20%2F135708\" title=\"\u3010C++\u3011\u30b3\u30f3\u30d1\u30a4\u30eb\u6642 1+1\u306f\uff1f\u307f\u305d\u30b9\u30fc\u30d7 - \u30b2\u30fc\u30e0\u4f5c\u308a\u306f\u697d\u3057\u3044\" 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/mahou_ptr/","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_name":"mahou_ptr","blog_url":"https://mahou-ptr.hatenablog.com/","categories":[],"height":"190","image_url":null}