You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
åèï¼ http://d.hatena.ne.jp/faith_and_brave/20100201/1264997004 ãC++0xã«ãªãã¨ãC++03 ã§ãã¡ããã¡ãããé¨åãã ãã¶ãã£ããæ¸ããããã«ãªãã ãããã§ãããC++0xãå¾ ããªãã¦ãBoostã使ãã°ã ãã¶ãã£ããæ¸ããã®ã§ã Boostã§ã®C++å ¥éã¯ãããªæãã ãã¼ãã¨ããæ°æã¡ã§ä»¥ä¸ç¥ã ãã®è¨äºã¯Cè¨èªãããç¨åº¦ç解ãã¦ãããã¨ãåæã§ãã 1. Hello World C++/Boostã§ã®åºåã¯C++æ¨æºã® IOStream ã©ã¤ãã©ãªã¨ Boost.Format ãçµã¿åããã¦è¡ãã¾ãã ä¾ã¨ãã¦ãCè¨èªã®printfãç¨ãã Hello World ããC++/Boostã使ã£ã¦æ¸ãç´ãã¦ã¿ã¾ãã #include <stdio.h> int main() { printf( "%s\n", "Hell
â [c++] Ubuntu 9.10 ã§ã® Boost 1.34.1 ã®ã³ã³ãã¤ã«ã¨ã©ã¼ã¨ãã®å¯¾å¦ 訳ãã£ã¦Boost 1.34 ã使ãå¿ è¦ãããï¼ä»ã®ææ°ã¯1.41.0ï¼ãä»ã¾ã§ã¯Ubuntuã®ããã±ã¼ã¸ã«Boostã®ãã¼ã¸ã§ã³1.34ããã£ã¦ããã使ã£ã¦ããã®ã ããã©ãä»æ¥Ubuntuã9.10ã«ã¢ããã°ã¬ã¼ãããããã¯ããµãã¼ãå¤ã¨ãããã¨ã§å¤ããã¼ã¸ã§ã³ã®Boostã¯åé¤ããã¦ãã¾ã£ãï¼åé¤ã«åæããã®ã¯èªåã®å¤æï¼ã ä»æ¹ãªãã®ã§ã1.34.1ã®ã½ã¼ã¹ããã¦ã³ãã¼ããã¦èªåã§ã³ã³ãã¤ã«ãã¦ã¿ãã ã³ã³ãã¤ã«æé ãã¦ã³ãã¼ããã boost_1_34_1.tar.bz2 ãå±éããã¨configureã¹ã¯ãªãããããã®ã§ãããã使ãã°ãããããå ¨ã¦ããã«ãããå¿ è¦ã¯ãªãã£ãã®ã§ã % ./configure --prefix=/home/kenichi/boost1.34 --
Boost ã®ä¸é¨ãªããããå®ç¨çãããããããã¨ãããã³ãã¬ã¼ãã¡ã¿ããã°ã©ãã³ã°ãæ好ãã諸å ããé»æ®ºããã¦ããä¸å¹¸ã®ã©ã¤ãã©ãªãBoost.PythonãBoost.åå¼·ä¼ã§ããã¤ã®é åãä¼ãããã¨æã£ãã®ã ãã©ãæéã®é½åã§ç¡çã ã£ãã®ã§ãç°¡åã«ç´¹ä»ãã¦ã¿ããã Boost.Python ã®åºç¤ Boost.Python 㯠C++ ã®ã¯ã©ã¹ãé¢æ°ãã©ãããã Python ã¢ã¸ã¥ã¼ã«ãæãããç°¡åã«æ¸ããããã«ãããå¼·åãªã©ã¤ãã©ãªã§ããã ç¹ã«ãPyrex ã Cython ã¨æ¯ã¹ã¦ä½ãããããã®ãã¨ããã¨ã Pythonå´ã«ãã¡ãã¡ã©ããé¢æ°ãæ¸ããªãã¦ãã (ãã³ãã¬ã¼ãã«ããèªåçã«å®ç¾©ããã) ã³ã³ãã¼ã¿ãç»é²ãããã¨ã§ãPythonâC++ã®åã®ééçãªå¤æã容æã«ã§ãã C++ ã®ã¯ã©ã¹ãåããããã形㧠Python ã®ã¯ã©ã¹ã¨ãã¦è¦ãããã¨ãå¯è½ ã¨ãã£ãç¹ãæ
ã¢ãããã¦ããã¾ããã Boost.Coroutine View more presentations from melpon ã¡ã¢ã¡ã¢ http://blog.think-async.com/2009/08/composed-operations-coroutines-and-code.html http://www.okws.org/doku.php?id=okws:tame http://d.hatena.ne.jp/shinichiro_h/20040106#p1 #boostjp ã¿ã°ãããããæ¾ã£ã¦ããçåã¨ãã é¢æ°çµããã® self.exit() ã«ã¤ã㦠ä¾ãã° int ãè¿ã coroutine ãä½ãå ´åãint ãè¿ãé¢æ°ã渡ããå¿ è¦ããã£ã¦ãä¾ãã° 1, 2, 3 ã¨é çªã«å¤ãè¿ããããªå ´åã¯ã int f(coroutine<int ()>::self& sel
Boost ã«ã¯ printf() ã®ãããªåããããã¯ã©ã¹ã¨ã㦠boost::format ãããã¾ããï¼scanf() ã®ãããªåããããã¯ã©ã¹ã¯ï¼å¤åï¼ããã¾ããï¼ããã§ï¼ä»å㯠scanf() ã®ãããªåããããã¯ã©ã¹ãèªä½ãã¦ã¿ã¾ãï¼ä»åã¯ï¼boost::tokenizer ãã«ã¹ã¿ãã¤ãºããæ¹æ³ã§ãããå®ç¾ãã¦ã¿ã¾ãï¼ boost::tokenizer ã¯ï¼ä»¥ä¸ã®ãããªå®£è¨ã«ãªã£ã¦ãã¾ãï¼ template < class TokenizerFunc = char_delimiters_separator<char>, class Iterator = std::string::const_iterator, class Type = std::string > class tokenizer boost::tokenzier ã®æå㯠TokenizerFunc ããã®ã»ã¨
Boost C++ Libraries ã®ç´¹ä»ãµã¤ãã§ãã :: by Google ã¯ããã« ãæ¨æ¶ Boost ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ åèãªã³ã¯é ãã¥ã¼ã¹ â Version 1.42.0 㨠1.41.0 å¯¾å¿ (2010/03/14) æ°è¦ã©ã¤ãã©ãªã«é¢ãã Let's Boost ã®ãã¼ã¸â¦ï¼ property_tree (æ±ç¨æ¨æ§é åã³ã³ãã£ã°ç®¡ç) ï¼ uuid (ã¦ãã¼ã¯IDçæå¨) â RSS ã¤ãã¾ãã (2009/08/28) â Version 1.40.0 㨠1.39.0 å¯¾å¿ (2009/08/28) æ°è¦ã©ã¤ãã©ãªã«é¢ãã Let's Boost ã®ãã¼ã¸â¦ï¼ Signals2 (Signal/Slotã©ã¤ãã©ãªæ¹è¯ç) â Version 1.38.0 㨠1.37.0 å¯¾å¿ (2009/02/22) æ°è¦ã©ã¤ãã©ãªã«é¢ãã Let's Boost ã®ãã¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}