{"id":1203,"date":"2014-02-13T20:08:18","date_gmt":"2014-02-13T12:08:18","guid":{"rendered":"http:\/\/www.dogeye.net\/?p=1203"},"modified":"2014-02-13T20:08:18","modified_gmt":"2014-02-13T12:08:18","slug":"c%e5%87%86%e6%a0%87%e5%87%86%e5%ba%93boost%e8%bd%ac%e5%90%91github%ef%bc%8c%e5%b9%b6%e5%8f%91%e5%b8%83%e6%a8%a1%e5%9d%97%e5%8c%96boostmodular-boost","status":"publish","type":"post","link":"https:\/\/ykyi.net\/?p=1203","title":{"rendered":"C++\u51c6\u6807\u51c6\u5e93boost\u8f6c\u5411github\uff0c\u5e76\u53d1\u5e03\u6a21\u5757\u5316boost(modular Boost)"},"content":{"rendered":"<p>\u96be\u9053\u662f\u4e2d\u6587\u793e\u533a\u9996\u6b21\u62a5\u9053\u5417\uff1f\u6211\u7528\u4e2d\u6587\u641c\u7d22\u5f15\u64ce\u6ca1\u6709\u641c\u7d22\u5230modular boost\u7684\u6587\u7ae0\u3002<\/p>\n<p>\u6628\u5929\u60f3\u5728STL\u7684map\u5bb9\u5668\u4e0a\u589e\u52a0\u4e00\u4e2a\u7279\u6027\uff0c\u5373\u628astd::map\u4e2d\u6240\u6709\u7684\u5143\u7d20\u6309\u7167\u52a0\u5165\u7684\u5148\u540e\u65f6\u95f4\u7528\u94fe\u8868\u94fe\u63a5\u8d77\u6765\uff0c\u4ee5\u4fdd\u5b58\u5143\u7d20\u4e4b\u95f4\u7684\u65f6\u5e8f\u5173\u7cfb\u3002<\/p>\n<p>\u4e3a\u4e86\u8fd9\u4e2a\u57fa\u4e8estd::map\u548cstd::list\u7684\u65b0\u7684\u5bb9\u5668\u80fd\u591f\u517c\u5bb9STL\u7684\u7b97\u6cd5\uff0c\u4e8e\u662f\u60f3\u5b9e\u73b0stl compatible iterator\u3002\u4e00\u53e3\u6c14\u8bfb\u4e86\u51e0\u5341\u9875\u8d44\u6599\uff0c\u53d1\u73b0\u6700\u9177\u6700\u597d\u7684\u65b9\u6cd5\u662f\u7528boost\u7684\u8fed\u4ee3\u5668\u6a21\u677f\u5b9e\u73b0\u3002\u7ea0\u7ed3\u4e86\u5f88\u4e45\uff0c\u6700\u7ec8\u51b3\u5b9a\u5728\u6211\u7684\u5de5\u7a0b\u4e2d\u5f15\u5165boost\u3002\u4e3a\u4e86\u83b7\u5f97\u5feb\u901f\u5f00\u53d1\u7684\u597d\u5904\uff0c\u8fd8\u662f\u52a0\u5165\u66f4\u591a\u7684\u5f00\u6e90\u5e93\u5427\u3002\u6bd5\u7adf\uff0c\u5982\u679c\u81ea\u5df1\u9020\u4e00\u4e2a\u8f6e\u5b50\uff0c\u9605\u8bfb\u8005\u4ecd\u7136\u8981\u82b1\u65f6\u95f4\u7406\u89e3\u4f60\u53d1\u660e\u7684\u8f6e\u5b50\uff0c\u8fd8\u4e0d\u5982\u7528\u5df2\u7ecf\u5e7f\u6cdb\u4f7f\u7528\u7684\u8f6e\u5b50\u3002\u51b5\u4e14\uff0c\u8ba1\u5212\u8981\u5f15\u5165boost\u4e2dasio\u7684proactor I\/O\u6a21\u578b\u3002\u6240\u4ee5\uff0c\u4eca\u5929\u5c31\u5f00\u59cb\u5f15\u5165boost\u5427\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u53d1\u73b0boost\u65e9\u5c31\u53d1\u8d77\u4e86modular boost\u9879\u76ee\u5e76\u628aboost host\u5728github.com\u4e0a\uff0c\u5982\u4e0b\u5730\u5740\uff1a<\/p>\n<p><a href=\"https:\/\/github.com\/boostorg\">https:\/\/github.com\/boostorg<\/a><\/p>\n<p>\u5728boost\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0a\u6709\u6a21\u5757\u5316boost\u7684FAQ:<\/p>\n<p><a href=\"https:\/\/svn.boost.org\/trac\/boost\/wiki\/ModCvtFAQ\">https:\/\/svn.boost.org\/trac\/boost\/wiki\/ModCvtFAQ<\/a><\/p>\n<p>\u8fd8\u6709\u5b83\u7684\u7b80\u5355\u4f7f\u7528\u6559\u7a0b\uff1a<\/p>\n<p><a href=\"https:\/\/svn.boost.org\/trac\/boost\/wiki\/TryModBoost#InstallingModularBoost\">https:\/\/svn.boost.org\/trac\/boost\/wiki\/TryModBoost#InstallingModularBoost<\/a><\/p>\n<p>\u6559\u7a0b\u4e0a\u8bf4\uff0c\u5982\u679c\u628a\u6574\u4e2amodule boost git clone\u5230\u672c\u5730\uff0c\u9700\u8981\u82b1\u8d3945\u5206\u949f\uff0c\u5982\u679c\u4e0b\u884c\u7f51\u901f\u662f3Mbps\uff0c\u800c\u4e14\u9700\u8981\u5360\u75281.5G\u78c1\u76d8\uff01<\/p>\n<p>\u6211\u6655~~<\/p>\n<p>\u53e6\u5916FAQ\u4e0a\u8bf4\uff1a\u6ca1\u529e\u6cd5\u53ea\u68c0\u51fa\u4e00\u4e2a\u5b50\u5e93\uff0c\u6682\u65f6\u4e0d\u80fd\u81ea\u52a8\u5730\u89e3\u51b3\u4f9d\u8d56\u6027\u95ee\u9898\u3002<\/p>\n<p>\u539f\u6587\uff1a<\/p>\n<p style=\"color: rgb(0, 0, 0); font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; line-height: normal;\"><strong>Is it possible to checkout only one library and its prerequisites?<\/strong><\/p>\n<blockquote style=\"color: rgb(0, 0, 0); font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; font-style: normal; line-height: normal;\">\n<p>Not automatically. Automatic dependency resolution is planned for the future, but not as a part of the conversion to Git and Modular Boost.<\/p>\n<\/blockquote>\n<p>\u4f46\u662f\uff0cgithub.com\/boostorg\u4e0a\u4e3a\u5404\u4e2a\u5b50\u5e93\u5206\u522b\u5efa\u4e86\u4e00\u4e2a\u4ed3\u5e93\u5594\u3002\u901a\u8fc7\u8fd9\u4e9b\u521b\u5e93\u68c0\u51faboost\u5b50\u5e93\uff0c\u4e0d\u884c\u5417\uff1f<\/p>\n<p>\u6ca1\u6709\u5174\u8da3\u53bb\u9a8c\u8bc1\u6211\u7684\u60f3\u6cd5\u3002<\/p>\n<p>\u6700\u540e\uff0c\u6211\u8fd8\u662f\u7528\u6700\u539f\u59cb\u7684\u65b9\u6cd5\u4f7f\u7528boost\u5e93\u5427~~\u5c31\u662f\u4e0b\u8f7d\u6574\u4e2a\u5e93\u7684\u538b\u7f29\u5305\u5230\u6211\u7684\u673a\u5668\u4e0a\u518d\u89e3\u5f00\u3002<\/p>\n<p>\u7b49boost\u89e3\u51b3\u4e86\u68c0\u51fa\u5b50\u5e93\u65f6\u7684\u81ea\u52a8\u4f9d\u8d56\u6027\u68c0\u67e5\u7684\u95ee\u9898\uff0c\u518d\u8fc1\u79fb\u5230git submodule\u7ba1\u7406boost\u5e93\u3002<\/p>\n<p>copyright ykyi.net<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u96be\u9053\u662f\u4e2d\u6587\u793e\u533a\u9996\u6b21\u62a5\u9053\u5417\uff1f\u6211\u7528\u4e2d\u6587\u641c\u7d22\u5f15\u64ce\u6ca1\u6709\u641c\u7d22\u5230modular boost\u7684\u6587\u7ae0\u3002 \u6628\u5929\u60f3\u5728STL\u7684map\u5bb9\u5668\u4e0a\u589e\u52a0\u4e00\u4e2a\u7279\u6027\uff0c\u5373\u628astd::map\u4e2d\u6240\u6709\u7684\u5143\u7d20\u6309\u7167\u52a0\u5165\u7684\u5148\u540e\u65f6\u95f4\u7528\u94fe\u8868\u94fe\u63a5\u8d77\u6765\uff0c\u4ee5\u4fdd\u5b58\u5143\u7d20\u4e4b\u95f4\u7684\u65f6\u5e8f\u5173\u7cfb\u3002 \u4e3a\u4e86\u8fd9\u4e2a\u57fa\u4e8estd::map\u548cstd::list\u7684\u65b0\u7684\u5bb9\u5668\u80fd\u591f\u517c\u5bb9STL\u7684\u7b97\u6cd5\uff0c\u4e8e\u662f\u60f3\u5b9e\u73b0stl compatible iterator\u3002\u4e00\u53e3\u6c14\u8bfb\u4e86\u51e0\u5341\u9875\u8d44\u6599\uff0c\u53d1\u73b0\u6700\u9177\u6700\u597d\u7684\u65b9\u6cd5\u662f\u7528boost\u7684\u8fed\u4ee3\u5668\u6a21\u677f\u5b9e\u73b0\u3002\u7ea0\u7ed3\u4e86\u5f88\u4e45\uff0c\u6700\u7ec8\u51b3\u5b9a\u5728\u6211\u7684\u5de5\u7a0b\u4e2d\u5f15\u5165boost\u3002\u4e3a\u4e86\u83b7\u5f97\u5feb\u901f\u5f00\u53d1\u7684\u597d\u5904\uff0c\u8fd8\u662f\u52a0\u5165\u66f4\u591a\u7684\u5f00\u6e90\u5e93\u5427\u3002\u6bd5\u7adf\uff0c\u5982\u679c\u81ea\u5df1\u9020\u4e00\u4e2a\u8f6e\u5b50\uff0c\u9605\u8bfb\u8005\u4ecd\u7136\u8981\u82b1\u65f6\u95f4\u7406\u89e3\u4f60\u53d1\u660e\u7684\u8f6e\u5b50\uff0c\u8fd8\u4e0d\u5982\u7528\u5df2\u7ecf\u5e7f\u6cdb\u4f7f\u7528\u7684\u8f6e\u5b50\u3002\u51b5\u4e14\uff0c\u8ba1\u5212\u8981\u5f15\u5165boost\u4e2dasio\u7684proactor I\/O\u6a21\u578b\u3002\u6240\u4ee5\uff0c\u4eca\u5929\u5c31\u5f00\u59cb\u5f15\u5165boost\u5427\u3002 \u4e8e\u662f\uff0c\u53d1\u73b0boost\u65e9\u5c31\u53d1\u8d77\u4e86modular boost\u9879\u76ee\u5e76\u628aboost host\u5728github.com\u4e0a\uff0c\u5982\u4e0b\u5730\u5740\uff1a https:\/\/github.com\/boostorg \u5728boost\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0a\u6709\u6a21\u5757\u5316boost\u7684FAQ: https:\/\/svn.boost.org\/trac\/boost\/wiki\/ModCvtFAQ \u8fd8\u6709\u5b83\u7684\u7b80\u5355\u4f7f\u7528\u6559\u7a0b\uff1a https:\/\/svn.boost.org\/trac\/boost\/wiki\/TryModBoost#InstallingModularBoost \u6559\u7a0b\u4e0a\u8bf4\uff0c\u5982\u679c\u628a\u6574\u4e2amodule boost git clone\u5230\u672c\u5730\uff0c\u9700\u8981\u82b1\u8d3945\u5206\u949f\uff0c\u5982\u679c\u4e0b\u884c\u7f51\u901f\u662f3Mbps\uff0c\u800c\u4e14\u9700\u8981\u5360\u75281.5G\u78c1\u76d8\uff01 \u6211\u6655~~ \u53e6\u5916FAQ\u4e0a\u8bf4\uff1a\u6ca1\u529e\u6cd5\u53ea\u68c0\u51fa\u4e00\u4e2a\u5b50\u5e93\uff0c\u6682\u65f6\u4e0d\u80fd\u81ea\u52a8\u5730\u89e3\u51b3\u4f9d\u8d56\u6027\u95ee\u9898\u3002 \u539f\u6587\uff1a Is it possible to checkout only one library and its prerequisites? Not automatically. Automatic dependency resolution is planned for the future, but not as a part of the conversion to Git and Modular &hellip; <a href=\"https:\/\/ykyi.net\/?p=1203\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;C++\u51c6\u6807\u51c6\u5e93boost\u8f6c\u5411github\uff0c\u5e76\u53d1\u5e03\u6a21\u5757\u5316boost(modular Boost)&#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,20],"class_list":["post-1203","post","type-post","status-publish","format-standard","hentry","category-tech_articles","tag-boost","tag-c"],"_links":{"self":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/1203","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=1203"}],"version-history":[{"count":0,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/1203\/revisions"}],"wp:attachment":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}