{"id":371,"date":"2017-01-19T16:18:32","date_gmt":"2017-01-19T08:18:32","guid":{"rendered":"http:\/\/140.113.239.177\/jhhlab_new\/?page_id=371"},"modified":"2018-02-09T10:03:30","modified_gmt":"2018-02-09T02:03:30","slug":"template-metaprogramming","status":"publish","type":"page","link":"https:\/\/www.jhhlab.tw\/index.php\/template-metaprogramming\/","title":{"rendered":"Template metaprogramming"},"content":{"rendered":"<h2>\u8d85\u7de8\u7a0b\u8edf\u9ad4\u5de5\u7a0b\u8207C++\u6cdb\u578b\u7a0b\u5f0f\u8a2d\u8a08<\/h2>\n<h4 class=\"p1\">We use template metaprogramming to make all the C++ software modules as maintainable, reusable, and efficient as possible<\/h4>\n<h4 class=\"p1\"><strong>\u6211\u5011\u4f7f\u7528\u8d85\u7de8\u7a0b\u8edf\u9ad4\u5de5\u7a0b\u8b93\u7a0b\u5f0f\u6a21\u7d44\u9ad8\u5ea6\u53ef\u7dad\u8b77\u3001\u53ef\u91cd\u8907\u5229\u7528\u4ee5\u53ca\u9ad8\u6548<\/strong><\/h4>\n<p><!--more--><\/p>\n<h3 class=\"p2\">\u5728<span class=\"s1\">JHHLAB, <\/span>\u6211\u5011\u5c08\u6ce8\u65bc\u4f7f\u7528<span class=\"s1\">C++<\/span>\u5354\u529b\u958b\u767c\u5927\u578b\u8edf\u9ad4\u5c08\u6848\uff0c\u6211\u5011\u8ffd\u6c42\u8edf\u9ad4\u5de5\u7a0b\u7684\u6700\u9ad8\u5883\u754c<span class=\"s1\">\u2014<\/span>\u8b93\u7a0b\u5f0f\u9ad8\u5ea6\u53ef\u8b80\u53ef\u7dad\u8b77\u4e26\u4f7f\u6240\u6709\u6a21\u7d44\u9ad8\u5ea6\u53ef\u91cd\u8907\u5229\u7528\u3002\u6211\u5011\u4f7f\u7528<span class=\"s1\">modern C++(<\/span>\u662f\u7684\uff0c<span class=\"s1\">C++11<\/span>\u4ee5\u5f8c\u7684<span class=\"s1\">C++<\/span>\u5df2\u88ab\u8996\u70ba\u662f<span class=\"s1\">\u201d<\/span>\u73fe\u4ee3<span class=\"s1\">C++\u201d<\/span>\u800c\u8207\u50b3\u7d71<span class=\"s1\">C++<\/span>\u76f8\u6bd4\u66f4\u9069\u5408\u9ad8\u6548\u958b\u767c<span class=\"s1\">)<\/span>\u9032\u884c\u8d85\u7de8\u7a0b\u7a0b\u5f0f\u8a2d\u8a08\u4e26\u7d50\u5408\u5148\u9032\u7684<span class=\"s1\">Policy based design pattern<\/span>\uff0c\u5efa\u69cb\u5c6c\u65bc\u9ad8\u5ea6\u6a21\u7d44\u5316\u7684\u6cdb\u578b\u51fd\u5f0f\u5eab\u3002<span class=\"s1\">JHHLAB<\/span>\u6210\u54e1\u6240\u958b\u767c\u7684\u6240\u6709\u6f14\u7b97\u6cd5\u8207\u8edf\u9ad4\uff0c\u7686\u9700\u57fa\u65bc\u6b64\u6cdb\u578b\u51fd\u5f0f\u5eab\u9032\u884c\u958b\u767c\u4e26\u4e0d\u65b7\u7684\u5354\u529b\u70ba\u5176\u64f4\u5145\u65b0\u529f\u80fd\u3002\u5f9e\u57fa\u790e\u7684<span class=\"s1\">I\/O\u3001<\/span>\u5e73\u884c\u6846\u67b6\u3001\u7d44\u88dd\u4ecb\u9762\uff0c\u5230\u6f14\u7b97\u6cd5\u3001\u7dda\u6027\u4ee3\u6578\u3001\u6a5f\u5668\u5b78\u7fd2\u3001\u7d71\u8a08\u6a21\u578b\u3001\u5f71\u50cf\u8655\u7406\u3001\u8996\u89ba\u5316\uff0c<span class=\"s1\">JHHLAB<\/span>\u7684\u6210\u54e1\u90fd\u88ab\u8981\u6c42\u7528<span","protected":false},"excerpt":{"rendered":"<p>\u8d85\u7de8\u7a0b\u8edf\u9ad4\u5de5\u7a0b\u8207C++\u6cdb\u578b\u7a0b\u5f0f\u8a2d\u8a08 We use template metaprogramming to ma [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":536,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-371","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/pages\/371"}],"collection":[{"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/comments?post=371"}],"version-history":[{"count":49,"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/pages\/371\/revisions"}],"predecessor-version":[{"id":846,"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/pages\/371\/revisions\/846"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/media\/536"}],"wp:attachment":[{"href":"https:\/\/www.jhhlab.tw\/index.php\/wp-json\/wp\/v2\/media?parent=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}