pdf file is here: https://dl.dropboxusercontent.com/u/1682460/presentation/boost_14/bgl_design_and_shortest_path.pdfRead less
9. 並åå powered by C++11 int m = max(thread::hardware_concurrency(), 1u); vector<thread> worker; for (int i = 0; i < m; ++i) { worker.emplace_back([&](int id) { int r0 = N/m * id + min(N%m, id); int r1 = N/m * (id+1) + min(N%m, id+1); for (int j = r0; j < r1; ++j) { process(data[j]); } }, i); } for (auto& t : worker) t.join(); 9 10. 並åå powered by C++11 int m = max(thread::hardware_concurrency(), 1
2013å¹´ã®Boostã®Google Summer of Codeããã¸ã§ã¯ããçºãã¦ãããããããªã®ãããã¾ããã Boost.Chrono/Date Complete the Boost.ChronoDate [1] library based on [2] to make it ready for review. [1] https://svn.boost.org/svn/boost/sandbox/chrono_date/ [2] https://svn.boost.org/svn/boost/sandbox/chrono_date/libs/date/doc/date.html This project will be mentored by Vicente J. Botet Escriba ä»ã¾ã§æéã®ã¿ãæ±ã£ã¦ããBoost.Chronoã§ãããæ¥ä»ãæ±ãããã¸ã§ã¯ããé²ãã
çãããåç¥ã®éãBoost 1.50.0ããªãªã¼ã¹ããã¾ããã ãã®ãªãªã¼ã¹ã§çããå½ç¶user-config.jamã« BOOST_THREAD_VERSION=3 ã追å ãããã¨ã¨æãã¾ãã ã¾ãä»åã¯å¤æ´ã§ã¯ãªãã¦æ°ãã追å ãããã©ã¤ãã©ãªã«ã¤ãã¦ã Boost.Algorithmããã«ã¯è¥å¹²å¤±æãã¦ãã®ã§æ±ãã¾ããã ä»åç´¹ä»ãã3ã©ã¤ãã©ãªã®ä½è ã¯Lorenzo Caminitiã§ãã Boost.Utility/IdentityType Boost.Utility/IdentityType 1.0.0 - Boost 1.50.0 ãã®ã©ã¤ãã©ãªã¯ãã¯ããå¤ç¨ãã人åãã®ã©ã¤ãã©ãªã§ããããèªä½ã¯ç°¡åãªã©ããã¼ã¨ãªã£ã¦ãã¾ãã ä¾ãã°ç¹æ®åããã¯ãã使ã£ã¦çæããããããã¿ã¼ã³ã以ä¸ã®æ§ãªã´ãã³ã¼ããä¾ã template <typename T> struct is_fug
ç¶ç¶ã使ããããã«ãªããã¨ã§ããããã®ã¯ããã¯ãéåæå¦çã®ã³ã¼ã«ããã¯å°çã®è§£æ¶ã§ãã éåæå¦çã¯ãå¦çãçµãã£ãæã«å¼ã°ããã³ã¼ã«ããã¯é¢æ°ãç»é²ãã¾ãããé£ç¶çãªéåæå¦çããããã¨æã£ããé常ã«å¤ãã®é¢æ°ãè¡ã£ããæ¥ãããã¦æ¸ããªãã¨ããã¾ãããã©ã ãå¼ã使ãã¨ãã¹ãã®æ·±ãé¢æ°ãã©ãã©ãå®ç¾©ãã¦ãããã¨ã«ãªãã®ã§ãç¶æ³ã¯ããã«æªåãã¾ãã ç¶ç¶ã使ãã¨ããã解æ¶ãããã¨ãã§ãã¾ãã 以ä¸ã®ããã°ã©ã ã¯ãBoost.Contextã®ãµã³ãã«ã«ããcontinuationã¯ã©ã¹ãBoost.Asioã¨çµã¿åããã¦éåæå¦çããã®å ´ã§æ¸ãä¸ãã¦ãã¾ãã #include <iostream> #include <boost/asio.hpp> #include "continuation.hpp" namespace asio = boost::asio; class Client {
1. ã¡ã³ãå¤æ°ã®ã¡ã³ãé¢æ°å ã§ã® ãªã½ã¼ã¹ç®¡ç é«æ©æ¶(Akira Takahashi) id:faith_and_brave @cpp_akira Boost.åå¼·ä¼ #8 å¤§éª 2012/02/11(å) 2. RAII ⢠C++ã«ã¯ãRAII(Resource Acquisition Is Initializationï¼ãªã½ã¼ã¹ 確ä¿ã¯åæåã§ãã)ã¨ããã¤ãã£ãªã ãããã ⢠簡åã«è¨ãã°ã確ä¿ãããªã½ã¼ã¹ã¯ãã¹ãã©ã¯ã¿ã§èªåç㫠解æ¾ãããã¨ãããã®ã void f() { File file; file.open("a.txt"); if (!file.write("xxxxxxxx")) { return; // éä¸ã§æãã¦ããã¡ã¤ã«ã¯éãããã } } // ãã¡ã¤ã«ãéãããã ⢠ããã¯ãã¼ã«ã«å¤æ°ã«ã¯é常ã«æå¹ã
unite.vim ã§ããã«è¼ã£ã¦ãã boost library ãåæãã¦ãªã³ã©ã¤ã³ããã¥ã¡ã³ããéã unite-source ã§ãã 以åãä¼¼ããã㪠unite-source ãä½ãã¾ãããããã®ãªã³ã©ã¤ã³çã§ããã [Vimãã©ã°ã¤ã³] unite-boost-online-doc - github open-browser.vim - github webapi-vim - github NeoBundle "git://github.com/osyo-manga/unite-boost-online-doc.git" NeoBundle "git://github.com/tyru/open-browser.vim.git" NeoBundle "git://github.com/mattn/webapi-vim.git" unite.vim 以å¤ã«ã webapi.vim
å é±åå¤å±ã«ã¦Boost.åå¼·ä¼#5ãéå¬ããã¾ããï¼ ããã¨ã¯ç´æ¥é¢ä¿ãªãã®ã§ããï¼è¡ãã®é»è»ã®ä¸ã§Boost.Variantã®ä»æ§ã«é¢ãã¦çåããã£ã¦Twitterã§ã¤ã¶ãããã¨ãã@cpp_akiraããããåçãããã ãã¦ï¼ããããããèå³æ·±ãå 容ã ã£ãã®ã§ãã®ããã¨ãããã¡ãã§ã¡ã¢ï¼ boost::variant<T1,T2,...>ã®ãªãã¸ã§ã¯ãtããã£ãã¨ãã«t.get<T1>()ã¨æ¸ããããªãï¼ã¨ãâ¦ï¼ boost::get<T1>(t)ã¨ãªã£ã¦ãã®ã¯ã©ãããæå³orçç±ãªãã§ãããï¼
1. Boostã©ã¤ãã©ãªä¸å¨ã®æ ver.1.48.0(Merge) é«æ©æ¶(Akira Takahashi) id:faith_and_brave @cpp_akira Boost.åå¼·ä¼#7 2011/12/03(å) 3. ä»åç´¹ä»ããã©ã¤ãã©ãª 01.Accumulators 23.Function 45.Operators 67.Swap 02.Any 24.Function Types 46.Optional 68.System 03.Array 25.Fusion 47.Parameter 26.Geometry 69.Test 04.Asio 48.Phoenix 27.GIL 70.Thread 05.Assign 49.Pointer Container 06.Bimap 28.Graph 50.Polygon 71.Timer 29.Interprocess 72.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}