{"id":769,"date":"2009-03-10T13:16:48","date_gmt":"2009-03-10T18:16:48","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=769"},"modified":"2011-04-06T18:21:06","modified_gmt":"2011-04-06T23:21:06","slug":"my-first-c-vs-c99-collision","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/","title":{"rendered":"My first C++ vs. C99 collision"},"content":{"rendered":"<p>Recently, I found myself kind of annoyed by the fact that I couldn&#8217;t use the same &#8220;initialization&#8221; syntax to directly set the values of an existing structure.  Extremely trivial, but it bugs me.  Is there really a good reason for this limitation?<\/p>\n<pre><code>\ttypedef struct\r\n\t{\r\n\t    int x;\r\n\t    int y;\r\n\r\n\t} Doh;\r\n\r\n    Doh doh = { 1, 2 };\r\n\r\n    \/\/ You can't directly re-assign in one step, bummer.\r\n    \/\/ doh = { 3, 4 };\r\n\r\n    \/\/ You need a second struct to use the same syntax.  Yuck.\r\n    Doh d2 = { 3, 4 };   \r\n    doh = d2;\r\n\r\n    \/\/ Or just do it longhand.  Also yuck.\r\n    doh.x = 5;\r\n    doh.y = 6;\r\n<\/code><\/pre>\n<p>So I dug around to see if there was anything I was missing, and I found <strong>designated initializers<\/strong>, the new initialization method available in C99.  It doesn&#8217;t allow me to directly assign values to an existing structure, but it is interesting:<\/p>\n<pre><code>\tDoh doh_set = { \r\n\t    .x = 4,\r\n\t    .y = 3\r\n\t};\r\n\tDoh doh_set2 = { \r\n\t    .y = 3, \r\n\t    .x = 4 \r\n\t};\r\n\tDoh doh_set3 = { \r\n\t    .y = 3\r\n\t};\r\n    Doh set4[]=\r\n    {\r\n        {\r\n            .y  = 1039      \r\n        },\r\n        {\r\n            .y  = 1040,\r\n            .x  = 23\r\n        }\r\n    };<\/code><\/pre>\n<p>Still not rocket science, but the truly interesting part is that designated initializers are <strong>not<\/strong> yet available in C++.  At least not today.  I tested it with gcc 4.1.2 and Visual Studio 2008 C++ compilers and they do not support it.  It may appear in <a href=\"http:\/\/en.wikipedia.org\/wiki\/C%2B%2B0x\">C++0x<\/a>, but for now, C is definitely no longer a pure subset of C++.  For more possible gotchas (and some C99 features that make it <strong>more<\/strong> compatible with C++), here&#8217;s a <a href=\"http:\/\/www.informit.com\/guides\/content.aspx?g=cplusplus&#038;seqNum=215\">quick C99 rundown<\/a>.<\/p>\n<p>Considering designated initializers are being used in places like the linux kernel, this issue no longer seems trivial.  Oh well, code and learn.  Hopefully I can go another 10 years(!) before my next snag.  For now, back to <strong>classes<\/strong>&#8230;  :><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I found myself kind of annoyed by the fact that I couldn&#8217;t use the same &#8220;initialization&#8221; syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = { [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[22],"tags":[37],"class_list":["post-769","post","type-post","status-publish","format-standard","hentry","category-cpp","tag-c0x"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Recently, I found myself kind of annoyed by the fact that I couldn&#039;t use the same &quot;initialization&quot; syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"m\"\/>\n\t<meta name=\"keywords\" content=\"c++\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"bitpost.com\/news | Note to self\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"My first C++ vs. C99 collision | bitpost.com\/news\" \/>\n\t\t<meta property=\"og:description\" content=\"Recently, I found myself kind of annoyed by the fact that I couldn&#039;t use the same &quot;initialization&quot; syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-03-10T18:16:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2011-04-06T23:21:06+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"My first C++ vs. C99 collision | bitpost.com\/news\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Recently, I found myself kind of annoyed by the fact that I couldn&#039;t use the same &quot;initialization&quot; syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#article\",\"name\":\"My first C++ vs. C99 collision | bitpost.com\\\/news\",\"headline\":\"My first C++ vs. C99 collision\",\"author\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg\",\"width\":96,\"height\":96,\"caption\":\"m\"},\"datePublished\":\"2009-03-10T13:16:48-04:00\",\"dateModified\":\"2011-04-06T18:21:06-04:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#webpage\"},\"articleSection\":\"C++, c++0x\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bitpost.com\\\/news\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/#listItem\",\"name\":\"Tricks Tips Tools\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/#listItem\",\"position\":2,\"name\":\"Tricks Tips Tools\",\"item\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/cpp\\\/#listItem\",\"name\":\"C++\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/cpp\\\/#listItem\",\"position\":3,\"name\":\"C++\",\"item\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/cpp\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#listItem\",\"name\":\"My first C++ vs. C99 collision\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/#listItem\",\"name\":\"Tricks Tips Tools\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#listItem\",\"position\":4,\"name\":\"My first C++ vs. C99 collision\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/tricks-tips-tools\\\/cpp\\\/#listItem\",\"name\":\"C++\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#person\",\"name\":\"m\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg\",\"width\":96,\"height\":96,\"caption\":\"m\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\",\"url\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/\",\"name\":\"m\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg\",\"width\":96,\"height\":96,\"caption\":\"m\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#webpage\",\"url\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/\",\"name\":\"My first C++ vs. C99 collision | bitpost.com\\\/news\",\"description\":\"Recently, I found myself kind of annoyed by the fact that I couldn't use the same \\\"initialization\\\" syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2009\\\/my-first-c-vs-c99-collision\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\"},\"datePublished\":\"2009-03-10T13:16:48-04:00\",\"dateModified\":\"2011-04-06T18:21:06-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/bitpost.com\\\/news\\\/\",\"name\":\"bitpost.com\\\/news\",\"description\":\"Note to self\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"My first C++ vs. C99 collision | bitpost.com\/news","description":"Recently, I found myself kind of annoyed by the fact that I couldn't use the same \"initialization\" syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {","canonical_url":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/","robots":"max-image-preview:large","keywords":"c++","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#article","name":"My first C++ vs. C99 collision | bitpost.com\/news","headline":"My first C++ vs. C99 collision","author":{"@id":"https:\/\/bitpost.com\/news\/author\/m\/#author"},"publisher":{"@id":"https:\/\/bitpost.com\/news\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg","width":96,"height":96,"caption":"m"},"datePublished":"2009-03-10T13:16:48-04:00","dateModified":"2011-04-06T18:21:06-04:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#webpage"},"isPartOf":{"@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#webpage"},"articleSection":"C++, c++0x"},{"@type":"BreadcrumbList","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news#listItem","position":1,"name":"Home","item":"https:\/\/bitpost.com\/news","nextItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/#listItem","name":"Tricks Tips Tools"}},{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/#listItem","position":2,"name":"Tricks Tips Tools","item":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/cpp\/#listItem","name":"C++"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/cpp\/#listItem","position":3,"name":"C++","item":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/cpp\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#listItem","name":"My first C++ vs. C99 collision"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/#listItem","name":"Tricks Tips Tools"}},{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#listItem","position":4,"name":"My first C++ vs. C99 collision","previousItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/tricks-tips-tools\/cpp\/#listItem","name":"C++"}}]},{"@type":"Person","@id":"https:\/\/bitpost.com\/news\/#person","name":"m","image":{"@type":"ImageObject","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg","width":96,"height":96,"caption":"m"}},{"@type":"Person","@id":"https:\/\/bitpost.com\/news\/author\/m\/#author","url":"https:\/\/bitpost.com\/news\/author\/m\/","name":"m","image":{"@type":"ImageObject","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg","width":96,"height":96,"caption":"m"}},{"@type":"WebPage","@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#webpage","url":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/","name":"My first C++ vs. C99 collision | bitpost.com\/news","description":"Recently, I found myself kind of annoyed by the fact that I couldn't use the same \"initialization\" syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/bitpost.com\/news\/#website"},"breadcrumb":{"@id":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/#breadcrumblist"},"author":{"@id":"https:\/\/bitpost.com\/news\/author\/m\/#author"},"creator":{"@id":"https:\/\/bitpost.com\/news\/author\/m\/#author"},"datePublished":"2009-03-10T13:16:48-04:00","dateModified":"2011-04-06T18:21:06-04:00"},{"@type":"WebSite","@id":"https:\/\/bitpost.com\/news\/#website","url":"https:\/\/bitpost.com\/news\/","name":"bitpost.com\/news","description":"Note to self","inLanguage":"en-US","publisher":{"@id":"https:\/\/bitpost.com\/news\/#person"}}]},"og:locale":"en_US","og:site_name":"bitpost.com\/news | Note to self","og:type":"article","og:title":"My first C++ vs. C99 collision | bitpost.com\/news","og:description":"Recently, I found myself kind of annoyed by the fact that I couldn't use the same &quot;initialization&quot; syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {","og:url":"https:\/\/bitpost.com\/news\/2009\/my-first-c-vs-c99-collision\/","article:published_time":"2009-03-10T18:16:48+00:00","article:modified_time":"2011-04-06T23:21:06+00:00","twitter:card":"summary","twitter:title":"My first C++ vs. C99 collision | bitpost.com\/news","twitter:description":"Recently, I found myself kind of annoyed by the fact that I couldn't use the same &quot;initialization&quot; syntax to directly set the values of an existing structure. Extremely trivial, but it bugs me. Is there really a good reason for this limitation? typedef struct { int x; int y; } Doh; Doh doh = {"},"aioseo_meta_data":{"post_id":"769","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-13 19:50:40","updated":"2025-08-17 19:03:48","seo_analyzer_scan_date":null},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-cp","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=769"}],"version-history":[{"count":12,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/769\/revisions"}],"predecessor-version":[{"id":1126,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/769\/revisions\/1126"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}