å ¨å½1,000,000人ã®STLãã¡ã³ã®ã¿ãªããã«æå ±ã§ãã STLã®queueã¨ãstackã¨ã使ãã«ãããªãã§ããï¼ ããã£ã¦ãä¸èº«ã¯listã¨ãqueueã¨ãvectorã®ããã«ä½¿ãã«ãããªãã§ããï¼ è§¦ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãå°ãªãããã¨ãæã£ã¦ãªãã§ããï¼ æ¸¡ããã³ã³ããã触ããªãã¨ãã©ããã¦ã¾ããï¼ ï¼ï¼æ¸¡ãã³ã³ãããç¬èªã§ä½æããã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯å®è£ ãä¸èº«ã¯æ°åãã§ããã ã§ãã¾ãããqueueãstackã§æ¸¡ãããã³ã³ããã¯ãã³ãã¼ããªã®ã§ç¸å½éããã¨ã«ãªãã¾ããå´ä¸ã ï¼ï¼queueãstackãprotectedç¶æ¿ãã¦ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæ¡å¼µãã æ£è§£ï¼ï¼ã移æ¤æ§ã¯ãªããã©æ£è§£ï¼ï¼ 移æ¤æ§ããªãã®ã¯STLã«ã¯ç°å¢ã«ãã£ã¦ç¬èªã®å®è£ ãããããã§ãã ããããå¤ãã®å ´åã¡ãã£ã¨æ¸ãæããã ãã§ãã®ãã¯ããã¯ã使ãã¾ãã ããã使ãã¨ã swapãã§ããqueueï¼ã·ã¥ãªã³ã¯
C++ å¯ç¨¿è¨äº εÏιÏÏημη æ°ããå¯ç¨¿ãã¦ããã ãããéçºè ã®æ¹ã ã«ãå½¹ã«ç«ã¤ãã¯ãã«ã«ããã¥ã¡ã³ãã§ããArticlesãReferencesãMiscelaneousã«åããã¦èª¬æãã¦ãã¾ããåå¿è ã®æ¹ããããã®æ¹ã¾ã§å½¹ã«ç«ã¤èªã¿ç©ã¨è³æéã§ããæ¯éãéçºã®ãå½¹ã«ãç«ã¦ä¸ããã Articles: èªã¿ç© References: è³æé Miscelaneous: çªå¤ç·¨
è§ã®ãã¼ã¸ã¸æ»ã STL(Standard Template Library) C++ã®æ¨æºãã³ãã¬ã¼ãã©ã¤ãã©ãªãSTLã®ãã¼ã¸ã§ãã 2003/6/7 ã³ã³ããå ¨ãã¼ã¸æ¨æºã«åããã¦ä¿®æ£ ç®æ¬¡(ã¨äºå®) æ´æ°å±¥æ´ ã¯ããã« STLã¨ã¯? '99 11/07 ä½æ ãã®åã«C++ã§ç¥ã£ã¦ãããªããã°ãªããªãã㨠馴æã¿ããªã(ãããããªã)åèª '99 9/23 ãããã«ä¿®æ£ ãã³ãã¬ã¼ã(template<>) 2001 1/31 æ´æ° ç°å¢ '99 2/20 VCã§SGI_STLã使ããBeOSãegcsç 使ãæ¹ ã¤ãã¬ã¼ã¿(å復å)ã®ä½¿ãæ¹ '99 6/19 æ´æ° é¢æ°ãªãã¸ã§ã¯ãã®ä½¿ãæ¹ '99 7/4 mem_fun()ã®ä½¿ãæ¹è¿½å æ©è¦è¡¨ STLã§ä½¿ã主ãªã¯ã©ã¹ '99 6/13 åã¯ã©ã¹ã®èª¬æãããããã¾ã¨ãã STLã§ä½¿ãããåå '99 6/13 å¾®å¦ã«æ´
Codianï¼ãã¼ã§ãããï¼ã¯ãVisual C++ 6.0ã使ç¨ããC++è¨èªã«ããããã°ã©ãã³ã°ã®è§£èª¬ãæ²è¼ãã¦ããã³ã³ãã³ãã§ãã ãã«ãã®è¦æ¹ããã¤ã³ã¿ã¨ãã£ãåºæ¬çãªãã®ãããDLLãã·ã§ã«ã¨ã¯ã¹ãã³ã·ã§ã³ã¨ãã£ãããã¢ãã¯ãªãã®ã¾ã§ãä»ã§ã¯è¦ãããªãæ å ±ãåããããã¦ããã¾ãã ãµã³ãã«ããã°ã©ã ãè§£èª¬å ±ã«Visual C++ 6.0ç¨ã§ãã®ã§ãæè¿ã®Visual Studio.Netã«ã¯å¯¾å¿ãã¦ããã¾ããããäºæ¿ãã ããã ã¡ãªã¿ã«ãCodianãã¨ããã¿ã¤ãã«ã¯ããã³ã¼ãï¼ããã°ã©ã ï¼ã«å¾ã人種ãã¨ããæå³ããä»ãããããã®ã§ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}