{"id":2103,"date":"2025-01-27T21:30:05","date_gmt":"2025-01-27T21:30:05","guid":{"rendered":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/?page_id=2103"},"modified":"2025-01-28T18:58:41","modified_gmt":"2025-01-28T18:58:41","slug":"class-templates-2","status":"publish","type":"page","link":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/topics\/c-details\/class-templates-2\/","title":{"rendered":"Class Templates"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Class Templates<\/h2>\n\n\n\n<p>Like Function Templates, Class Templates are very useful. But how to create them, and use them is not as simple as you might think.<\/p>\n\n\n\n<p><a href=\"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/topics\/c-details\/class-templates-2\/whats-the-problem\/\">What&#8217;s The Problem?<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/topics\/c-details\/class-templates-2\/template-class-method-definitions\/\">Template Class Method Definitions<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/topics\/c-details\/class-templates-2\/friend-declarations-in-class-templates\/\">friend Declarations in Class Templates<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/topics\/c-details\/class-templates-2\/operator-for-class-templates\/\">operator&lt;&lt; for Class Templates<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/topics\/c-details\/class-templates-2\/member-templates\/\">Member Templates<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/topics\/c-details\/class-templates-2\/summary-of-class-templates\/\">Summary of Class Templates<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Class Templates Like Function Templates, Class Templates are very useful. But how to create them, and use them is not as simple as you might think. What&#8217;s The Problem? Template Class Method Definitions friend Declarations in Class Templates operator&lt;&lt; for Class Templates Member Templates Summary of Class Templates<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":910,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2103","page","type-page","status-publish","hentry"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/pages\/2103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/comments?post=2103"}],"version-history":[{"count":2,"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/pages\/2103\/revisions"}],"predecessor-version":[{"id":2140,"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/pages\/2103\/revisions\/2140"}],"up":[{"embeddable":true,"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/pages\/910"}],"wp:attachment":[{"href":"https:\/\/bhiggs.x10hosting.com\/PracticalCPlusPlusProgramming\/index.php\/wp-json\/wp\/v2\/media?parent=2103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}