{"id":5762,"date":"2021-09-09T21:54:46","date_gmt":"2021-09-09T21:54:46","guid":{"rendered":"https:\/\/netpipe.ca\/?p=5762"},"modified":"2021-09-09T21:54:46","modified_gmt":"2021-09-09T21:54:46","slug":"c-needs-this-fixed","status":"publish","type":"post","link":"https:\/\/netpipe.ca\/?p=5762","title":{"rendered":"c++ needs this fixed"},"content":{"rendered":"<p>c++ enums should be fixed so that the values they contain can be used in switches better the enum specifier<\/p>\n<p>enum test{init};<br \/>\nenum test1{init};<\/p>\n<p>switch (esb2d[param]){<\/p>\n<p>case eparamb2d(init): \/\/gravity based<br \/>\n{<\/p>\n<p>&nbsp;<\/p>\n<p>compiling says error redefinition of init when it should support multiple enums like that.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>c++ enums should be fixed so that the values they contain can be used in switches better the enum specifier enum test{init}; enum test1{init}; switch (esb2d[param]){ case eparamb2d(init): \/\/gravity based { &nbsp; compiling says error redefinition of init when it should support multiple enums like that. &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5762","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts\/5762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5762"}],"version-history":[{"count":1,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts\/5762\/revisions"}],"predecessor-version":[{"id":5763,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts\/5762\/revisions\/5763"}],"wp:attachment":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}