{"id":118,"date":"2006-03-18T23:14:32","date_gmt":"2006-03-19T04:14:32","guid":{"rendered":"http:\/\/bitpost.com\/news\/2006\/03\/18\/templates-get-a-new-home\/"},"modified":"2006-04-07T08:56:34","modified_gmt":"2006-04-07T13:56:34","slug":"templates-get-a-new-home","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2006\/templates-get-a-new-home\/","title":{"rendered":"Templates get a new home"},"content":{"rendered":"<p>I&#8217;ve always wished I could find an elegant way to separate template implementation code.  Here&#8217;s my latest strategy&#8230;<!--more--><\/p>\n<blockquote><p>h = standard interface<br \/>\nhpp = template implementation<br \/>\ncpp = standard implementation<\/p>\n<p>Always include the hpp at the end of the h.<br \/>\nAlways include the h at the beginning of the cpp.<br \/>\nAlways use inline keyword on template function implementations.<\/p><\/blockquote>\n<p>Not much to see here, move along&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve always wished I could find an elegant way to separate template implementation code. Here&#8217;s my latest strategy&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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,"enabled":false},"version":2}},"categories":[10,2],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-tricks-tips-tools","category-chatter"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-1U","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/118","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=118"}],"version-history":[{"count":0,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}