C++0xã§ã¯ãå¯å¤å¼æ°ãã³ãã¬ã¼ãã¨ããæ©è½ã追å ããã¾ãã ããã使ãã¨ããã³ãã¬ã¼ããã©ã¡ã¼ã¿ãå¯å¤ååãåããã¨ãã§ãã template <class... Args> // ...ã¨æ¸ãã¨å¯å¤å¼æ°ãã³ãã¬ã¼ãã«ãªã class tuple; å¯å¤å¼æ°ãã³ãã¬ã¼ãã¯åã®ãªã¹ãã¨è¦ãªããã¨ãã§ãã¾ãã tuple<int> t1; // è¦ç´ 1ã¤(int)ã®åãªã¹ã tuple<int, char> t2; // è¦ç´ 2ã¤(int, char)ã®åãªã¹ã tuple<int, char, long> t3; // è¦ç´ 3ã¤(int, char, long)ã®åãªã¹ã ã¨ãããã¨ã§ãåãªã¹ããã©ãã¾ã§ã§ããã試ãããã« ãªã¹ãå¦çãä½ã£ã¦ã¿ã¾ããã headã¨tail - å é ã¨å¾é¨ length - é·ã at - Içªç®ã®åãåå¾ concat - åãªã¹ãã®é£çµ cons -
{{#tags}}- {{label}}
{{/tags}}