{"id":5368,"date":"2022-06-10T14:55:18","date_gmt":"2022-06-10T05:55:18","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=5368"},"modified":"2022-06-21T08:37:46","modified_gmt":"2022-06-20T23:37:46","slug":"c%e8%a8%80%e8%aa%9e-enum%e5%9e%8b-%e3%81%ae-%e3%82%b5%e3%82%a4%e3%82%ba","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/5368","title":{"rendered":"[C\u8a00\u8a9e] enum\u578b \u306e \u30b5\u30a4\u30ba"},"content":{"rendered":"<ul>\n<li>[Q] C\u8a00\u8a9e\u306b\u304a\u3044\u3066 enum \u578b\u306e\u30b5\u30a4\u30ba\u306f\u6c7a\u307e\u3063\u3066\u3044\u308b\u304b\uff1f<\/li>\n<li>[A] \u6c7a\u307e\u3063\u3066\u3044\u306a\u3044\u3002<\/li>\n<\/ul>\n<p>enum\u578b\u306fsizeof(int)\u3092\u8d85\u3048\u308b\u3053\u3068\u306f\u306a\u3044\u3002<\/p>\n<p>Microsoft Visual Studio \u306b\u304a\u3044\u3066 enum\u578b \u306f int \u3067\u56fa\u5b9a\u3067\u3042\u308b\u3002<\/p>\n<p>\u4e00\u65b9, \u51e6\u7406\u7cfb\uff08IAR Embedded Workbench, CodeWarrier\u306a\u3069\uff09\u306b\u3088\u3063\u3066\u306fenum\u5b9a\u6570\u3067\u4fdd\u6301\u306b\u5fc5\u8981\u306a\u6700\u5c0f\u306e\u578b\u3092\u4f7f\u7528\u3059\u308b\u3002\u7bc4\u56f2\u6307\u5b9a\u304c\u306a\u3051\u308c\u3070 unsigned \u3088\u308a\u3082 signed \u3092\u512a\u5148\u3059\u308b\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/www.ibm.com\/docs\/ja\/i\/7.5?topic=descriptions-enum\">IBM i 7.5 : enum<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/cpp\/c-language\/enum-type?view=msvc-170\">Microsoft C\u8a00\u8a9e \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 : enum\u578b<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>[Q] C\u8a00\u8a9e\u306b\u304a\u3044\u3066 enum \u578b\u306e\u30b5\u30a4\u30ba\u306f\u6c7a\u307e\u3063\u3066\u3044\u308b\u304b\uff1f [A] \u6c7a\u307e\u3063\u3066\u3044\u306a\u3044\u3002 enum\u578b\u306fsizeof(int)\u3092\u8d85\u3048\u308b\u3053\u3068\u306f\u306a\u3044\u3002 Microsoft Visual Studio \u306b\u304a\u3044\u3066 enum\u578b \u306f  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[80],"class_list":["post-5368","post","type-post","status-publish","format-standard","hentry","category-memo","tag-c"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=5368"}],"version-history":[{"count":8,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5368\/revisions"}],"predecessor-version":[{"id":5418,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5368\/revisions\/5418"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=5368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=5368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=5368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}