{"id":1251,"date":"2014-06-11T15:38:33","date_gmt":"2014-06-11T07:38:33","guid":{"rendered":"http:\/\/www.dogeye.net\/?p=1251"},"modified":"2014-06-11T15:38:33","modified_gmt":"2014-06-11T07:38:33","slug":"%e7%94%a8boost%e7%9a%84%e6%96%b9%e5%bc%8f%e5%9c%a8%e9%a2%84%e7%bc%96%e8%af%91%e6%9c%9f%e6%a3%80%e6%9f%a5%e7%bc%96%e8%af%91%e5%99%a8%e5%92%8c%e5%b9%b3%e5%8f%b0%e4%bb%a5%e5%8f%8a%e5%85%b6%e5%ae%83","status":"publish","type":"post","link":"https:\/\/ykyi.net\/?p=1251","title":{"rendered":"\u7528boost\u7684\u65b9\u5f0f\u5728\u9884\u7f16\u8bd1\u671f\u68c0\u67e5\u7f16\u8bd1\u5668\u548c\u5e73\u53f0\u4ee5\u53ca\u5176\u5b83"},"content":{"rendered":"<p><strong><span style=\"font-size: 12.727272033691406px;\">\u7528boost\u7684\u65b9\u5f0f\u5728\u9884\u7f16\u8bd1\u671f\u68c0\u67e5\u7f16\u8bd1\u5668\u548c\u5e73\u53f0\u4ee5\u53ca\u5176\u5b83<\/span><\/strong><\/p>\n<p><span style=\"font-size: 13px; line-height: 1.6em;\">\u4e00\u822cC\/C++\u7a0b\u5e8f\u5458\u90fd\u77e5\u9053\u7528\u4e00\u4e9b\u7f16\u8bd1\u5668\u9884\u7f16\u8bd1\u5b8f\u6765\u5224\u65ad\u7f16\u8bd1\u5668\u7684\u79cd\u7c7b\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002<\/span><\/p>\n<p>\u4e00\u822c\u6709\uff1a<br \/>\n\t_WIN32 \uff0c\u4e0d\u7ba1windows x86 \u8fd8\u662f x86_64 \u90fd\u4f1a\u6709_WIN32\uff0c\u6ce8\u610f\u524d\u9762\u7684\u4e0b\u5212\u7ebf\uff0c\u5982\u679c\u6ca1\u6709\u4e0b\u5212\u7ebf\uff0cMSDN\u7684\u5b98\u65b9\u5b9a\u4e49\u6709\u8fd9\u4e2a\u9177\u9177\u7684\u4e0b\u5212\u7ebf.<br \/>\n\t__unix__ \u662f\u5426 unix OS<br \/>\n\t__linux__ \u662f\u5426\u662f linux<br \/>\n\t__apple__ \u662f\u5426\u662f\u5e73\u53f0<\/p>\n<p>\u539f\u6765\u54a7\uff0cBOOST\u5e93\u63d0\u4f9b\u4e86\u4e00\u4e2a\u76f8\u5f53\u4e30\u5bcc\u7684\u5e93\u6765\u505a\u8fd9\u4ef6\u4e8b\uff1a<br \/>\n\t\u8fd9\u4e2aBOOST\u5e93\u662f Predef <a href=\"http:\/\/www.boost.org\/doc\/libs\/1_55_0\/libs\/predef\/doc\/html\/index.html\">http:\/\/www.boost.org\/doc\/libs\/1_55_0\/libs\/predef\/doc\/html\/index.html<\/a><\/p>\n<p>#include &lt;boost\/predef.h&gt;<\/p>\n<p>\u770b\u770b\u5b98\u65b9\u6587\u6863\u7684\u76ee\u5f55\uff1a<br \/>\n\tTable of Contents<\/p>\n<p>Introduction<br \/>\n\tUsing the predefs<br \/>\n\tAdding new predefs<br \/>\n\tReference<br \/>\n\tBOOST_ARCH architecture macros<br \/>\n\tBOOST_COMP compiler macros<br \/>\n\tBOOST_LANG language standards macros<br \/>\n\tBOOST_LIB library macros<br \/>\n\tBOOST_OS operating system macros<br \/>\n\tOther macros<br \/>\n\tVersion definition macros<br \/>\n\tAcknoledgements<\/p>\n<p>\u5305\u62ec\u5904\u7406\u5668\u67b6\u6784\uff0c\u7f16\u8bd1\u5668\u76f8\u5173\u5b8f\uff0c\u8bed\u8a00\u76f8\u5173\u5b8f\uff0c\u5e93\u76f8\u5173\u5b8f\uff0c\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u5b8f~~~<\/p>\n<p>I like boost ~~~<\/p>\n<p>copyright ykyi.net<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528boost\u7684\u65b9\u5f0f\u5728\u9884\u7f16\u8bd1\u671f\u68c0\u67e5\u7f16\u8bd1\u5668\u548c\u5e73\u53f0\u4ee5\u53ca\u5176\u5b83 \u4e00\u822cC\/C++\u7a0b\u5e8f\u5458\u90fd\u77e5\u9053\u7528\u4e00\u4e9b\u7f16\u8bd1\u5668\u9884\u7f16\u8bd1\u5b8f\u6765\u5224\u65ad\u7f16\u8bd1\u5668\u7684\u79cd\u7c7b\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002 \u4e00\u822c\u6709\uff1a _WIN32 \uff0c\u4e0d\u7ba1windows x86 \u8fd8\u662f x86_64 \u90fd\u4f1a\u6709_WIN32\uff0c\u6ce8\u610f\u524d\u9762\u7684\u4e0b\u5212\u7ebf\uff0c\u5982\u679c\u6ca1\u6709\u4e0b\u5212\u7ebf\uff0cMSDN\u7684\u5b98\u65b9\u5b9a\u4e49\u6709\u8fd9\u4e2a\u9177\u9177\u7684\u4e0b\u5212\u7ebf. __unix__ \u662f\u5426 unix OS __linux__ \u662f\u5426\u662f linux __apple__ \u662f\u5426\u662f\u5e73\u53f0 \u539f\u6765\u54a7\uff0cBOOST\u5e93\u63d0\u4f9b\u4e86\u4e00\u4e2a\u76f8\u5f53\u4e30\u5bcc\u7684\u5e93\u6765\u505a\u8fd9\u4ef6\u4e8b\uff1a \u8fd9\u4e2aBOOST\u5e93\u662f Predef http:\/\/www.boost.org\/doc\/libs\/1_55_0\/libs\/predef\/doc\/html\/index.html #include &lt;boost\/predef.h&gt; \u770b\u770b\u5b98\u65b9\u6587\u6863\u7684\u76ee\u5f55\uff1a Table of Contents Introduction Using the predefs Adding new predefs Reference BOOST_ARCH architecture macros BOOST_COMP compiler macros BOOST_LANG language standards macros BOOST_LIB library macros BOOST_OS operating system macros Other macros &hellip; <a href=\"https:\/\/ykyi.net\/?p=1251\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;\u7528boost\u7684\u65b9\u5f0f\u5728\u9884\u7f16\u8bd1\u671f\u68c0\u67e5\u7f16\u8bd1\u5668\u548c\u5e73\u53f0\u4ee5\u53ca\u5176\u5b83&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[18],"class_list":["post-1251","post","type-post","status-publish","format-standard","hentry","category-tech_articles","tag-boost"],"_links":{"self":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/1251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1251"}],"version-history":[{"count":0,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/1251\/revisions"}],"wp:attachment":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}