{"id":712,"date":"2015-10-13T20:51:39","date_gmt":"2015-10-13T20:51:39","guid":{"rendered":"http:\/\/entrian.com\/blog\/?p=712"},"modified":"2021-07-01T07:16:06","modified_gmt":"2021-07-01T07:16:06","slug":"inline-watch-093-templates-pointers","status":"publish","type":"post","link":"https:\/\/entrian.com\/blog\/inline-watch-093-templates-pointers\/","title":{"rendered":"Entrian Inline Watch 0.9.3: Template support; Optional raw pointers"},"content":{"rendered":"<p>I&#8217;m very pleased to announce Entrian Inline Watch 0.9.3, which introduces two new features:<\/p>\n<ul>\n<li>You can now set Object Display rules for C++\u00a0<strong>template types<\/strong>, for instance for <code>std::list<\/code> you can set up a rule like this:\n<p><code>std::list \u00a0 \\{size={_Mysize}\\}<\/code><\/p>\n<p><code> <\/code>to display the size of all\u00a0<code>std::list&lt;whatever&gt;<\/code> objects like this: <span style=\"border: 1px solid #e0c000; background-color: #ffffb8; border-radius: 0.6em; padding-right: 0.6em; padding-left: 0.6em; font-family: Calibri, Helvetica Neue, Arial, Helvetica, sans-serif; font-size: 90%;\">{size=10}<\/span> (Thanks, Martin and Daniel)<\/li>\n<\/ul>\n<ul>\n<li>The display of values for <strong>raw pointers<\/strong> in C\/C++\u00a0is now optional &#8211; when there&#8217;s no Object Display rule configured for a type, and no sensible default value to display, you can choose whether to display the raw pointer value or nothing (thanks, Daniel).<\/li>\n<\/ul>\n<p><strong>Update:<\/strong> 0.9.4 adds C++ template support to Accessor Method rules as well as Object Display rules.<\/p>\n<p>You can download the new release from\u00a0<a href=\"http:\/\/entrian.com\/inline-watch\/download.html\">the download page<\/a> or\u00a0<a href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/d3fb51d6-d8f3-4872-8825-93f657a8ef62\">the gallery<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m very pleased to announce Entrian Inline Watch 0.9.3, which introduces two new features: You can now set Object Display rules for C++\u00a0template types, for instance for std::list you can set up a rule like this: std::list \u00a0 \\{size={_Mysize}\\} to display the size of all\u00a0std::list&lt;whatever&gt; objects like this: {size=10} (Thanks, Martin and Daniel) The display [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4,5],"tags":[],"class_list":["post-712","post","type-post","status-publish","format-standard","hentry","category-30days","category-changelog","category-inline-watch-changelog"],"_links":{"self":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts\/712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/comments?post=712"}],"version-history":[{"count":1,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts\/712\/revisions"}],"predecessor-version":[{"id":1268,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/posts\/712\/revisions\/1268"}],"wp:attachment":[{"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/media?parent=712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/categories?post=712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entrian.com\/blog\/wp-json\/wp\/v2\/tags?post=712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}