ãã®è¨äºã¯ C++11 Advent Calendar 14æ¥ç®ã®è¨äºã§ãã ä½ããããã«ããã®ã C++11ããæ£å¼ã«å°å
¥ãããæ°æ©è½ã§ãããmove semanticsã¨rvalue referenceã§ããããªããªããããç解åºæ¥ãªãã¨ãã人ãå¤ãããã§ãã ã¡ãã£ã¨èããã°ãªãã»ã©ãã¨æãã¾ããç§ãæãã«ãã®ãããã«ããæ大è¦å ã¯ãã¯ããã®ååã®ãããã¨æãã¾ãã ç¹ã«rvalue referenceã§ãããæ¥æ¬èªã«è¨³ãã¨å³è¾ºå¤åç
§ã¨ããå¼ã°ãæ¹ããã¦ãã¾ãã ããããå³è¾ºå¤ã左辺å¤ã¨ããå称ã¯Cè¨èªæ代ã®æµãã§ãã®ã¾ã¾å¼ãç¶ãã§ãããã®ã§ãããå³è¾ºå¤åç
§ã¨ããå称ã¯è¨ãã°å¾ä»ãã§å称ããããã®ã§ãã å®éã«ä½¿ç¨ããéã«å³è¾ºå¤ãªã®ã左辺å¤ãªã®ããæèãã¦ãã人ã¯æ®ã©ãããããããä½è¨ãªæ··ä¹±ãæãã¦ããã®ã§ã¯ãªããã¨æãã¾ãã ã§ã¯ã³ã¼ããæ¸ãã¦ã¿ã¦ç解ãã¾ãããã lvalueã¨r
{{#tags}}- {{label}}
{{/tags}}