{"blog_title":"\u30b2\u30fc\u30e0\u4f5c\u308a\u306f\u697d\u3057\u3044","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mahou_ptr/20231108/20231108194247.png","categories":["C++","\u30cd\u30bf"],"title":"0=1\u306e\u8a3c\u660e","width":"100%","provider_url":"https://hatena.blog","published":"2023-11-08 19:44:42","author_name":"mahou_ptr","provider_name":"Hatena Blog","url":"https://mahou-ptr.hatenablog.com/entry/2023/11/08/194442","author_url":"https://blog.hatena.ne.jp/mahou_ptr/","height":"190","blog_url":"https://mahou-ptr.hatenablog.com/","description":"\u672c\u65e5\u306e\u30ae\u30e3\u30b0\u3067\u3059\u3002 \u3053\u3061\u3089\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002 #include <cctype> #include <iostream> int main() { using namespace std; int32_t x = 0; if (x = x + 1) std::cout << \"true\"; } C++\u3067\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3089\u300ctrue\u300d\u3068\u51fa\u529b\u3055\u308c\u305f\u306e\u3067\u3001 \u300cx = x + 1\u300d\u306ftrue\u306b\u306a\u308a\u307e\u3059\u3002 \u3057\u305f\u304c\u3063\u3066\u3001x = 0\u3088\u308a\u300c0 = 1\u300d\u3067\u3042\u308b\u3002 ... \u3053\u308c\u306f\u9593\u9055\u3044\u3067\u3059\u3088\u306d\u3001\u3001 C++\u3067\u7b49\u5024\u5224\u5b9a\u306f\u300c==\u300d\u306b\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u6b63\u3057\u304f\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u306a\u3044\u3068\u5224\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002 - if \u2026","type":"rich","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmahou-ptr.hatenablog.com%2Fentry%2F2023%2F11%2F08%2F194442\" title=\"0=1\u306e\u8a3c\u660e - \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>"}