STLã®ãã¼ã¸ã«æ»ã STL Algorithm 詳解 Index ä»ã®ã¨ãããªãã¡ã¬ã³ã¹ã«æ¯ãçããç¨åº¦ã§ããã ã¨ããã©ãã(1/4ããã)ä¾ãæãã¦ããããã¾ã(ãã¾ãé¢ç½ãä¾ãæãã¤ããªãã¦)ã '99 9/26 éåãæ大ã»æå°ãé åãã³ãã¼è¿½å ãããã§ã¨ããããalgorithmã¯å ¨é¨ããã¨ã¯ä¾ãç¸äºåç §ãªã³ã¯ãä»ãå ãã¦ããã ãã 2000å¹´10æ16æ¥ ããããã¨ä¿®æ£ ç®æ¬¡ æ¤ç´¢ãè¡ãã¢ã«ã´ãªãºã æ¤ç´¢ã¢ã«ã´ãªãºã ä¸è¦§ ããå¤ãæã¤è¦ç´ ãæ¤ç´¢ããã- find() æ¡ä»¶ãæºããè¦ç´ ãæ¤ç´¢ããã- find_if() åãå¤ãé£ç¶ãã¦ããç®æãæ¢ãã- adjacent_find() ããè¤æ°ã®è¦ç´ ããããã¨ä¸è´ããè¦ç´ ãæ¤ç´¢ããã- find_first_of() ããè¤æ°ã®è¦ç´ ããããã«å¯¾ãã¦æ¡ä»¶ãæºããè¦ç´ ãæ¤ç´¢ããã- find_first_of() ä¸çªæå¾ã«è¦
C++ ã³ã³ãã¤ã©ã«å¿ ãä»å±ãã¦ãããæ¨æº C++ ã©ã¤ãã©ãªãããã®æ ¹å¹¹ãæãSTL 㨠iostream ã ç´ æ´ãããé åãæã¤ãã®ã©ã¤ãã©ãªã¯ãæ£ããç解ãããããã¨ãªãå°ã«åããããã¨ãã¦ãã¾ããããã¯é常ã«ãã£ãããªããã¨ã§ãããã®ã©ã¤ãã©ãªã使ãããªããã¨ã§ãçããã®ã C++ ããã°ã©ãã³ã°ã«å¯¾ããæ¦å¿µãã¯å¤§ããå¤ãããã¨ã§ããããããã¦ãããå¼·åºã§çããèªã¿ãããããã°ã©ã ãçµããããã«ãªãã¯ãã§ãããã®ã©ã¤ãã©ãªã¯ãããã ãã®ããã³ã·ã£ã«ãæã£ã¦ããã®ã§ãã ã STL & iostream å ¥éãã¯ã STL 㨠iostream ã®ãæ¬è³ªããä¼ãã¾ãããããç¥ããã¨ã§çããã¯ãããã¹ã ãã®ä½¿ãããããããªãããæ¬ç©ã®ã©ã¤ãã©ãªãã¨ãããã®ã«æ°ä»ããã¨ã§ããããããã¦ãçããã® C++ ããã°ã©ãã¼ã¨ãã¦ã®ã¬ãã«ã¯å¿ ãä¸ããã¯ãã§ãã èªåãæ¸ãã C++ ããã°ã©ã
æ¥ã«STLãã¡ããã¨åå¼·ããããªãã¾ããã 以ä¸ã®æ¡ä»¶ãæºããSTLå ¥éãµã¤ããæãã¦ãã ãã -æ¥æ¬èª -ã³ã¼ããµã³ãã«ãè±å¯ -ãç¾ããããªã©ã®ææ³ãããã¦ããï¼ãªãã¦ãããã§ãï¼ ãããããé¡ããã¾ãã
1985å¹´ãAT&Tã®Bjarne StroustrupãC++ããã®ä¸ã«éãåºãã¾ããããã®å¾C++ã¯æ§ã ãªæ¡å¼µãç¹°ãè¿ããªããé²åãã¦ãã¾ããã 1991å¹´ãISOã¯C++ã®å½éæ¨æº(standard C++)ãå®ããä½æ¥ãéå§ãã¾ãããæ¨æºC++ã®æçµèæ¡ã¯1997å¹´ã«ISO C++æ¨æºåå§å¡ä¼ã«æ¿èªããã¾ããã æ¨æºC++ãè¦å®ããã®ã¯è¨èªä»æ§ã ããªããC++æ¨æºã©ã¤ãã©ãªãè¦æ ¼ã®ä¸ã§æ確ã«å®ãããã¦ãã¾ããããã¾ã§C++ã®ã©ã¤ãã©ãªã¨ããã°iostreamãããã®ãã®ã§ãããããããããã¾ã§"äºå®ä¸ã®æ¨æº"ã§ããããã¾ããã§ããã ããã¦ãã®C++æ¨æºã©ã¤ãã©ãªã®ä¸é¨ã¨ãã¦çµã¿å ¥ããããã®ãSTL(Standard Template Library)ã§ããããªãã¡STLã¯æ¨æºC++ã®ä»æ§ã®ä¸é¨ã¨ãããã¨ã§ãã åãSTLãç¥ã£ãã®ã¯1995å¹´ãããã¤ãã®ã³ã³ãã¤ã©ãtemplat
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}