有關C++11標準的一些粗淺認識


今天在酷殼網無意之間看到了一道設計一個簡單的C++ String類的題目:http://coolshell.cn/articles/10478.html 

才知道有關C++11的移動構造和移動賦值。

在進行一番淺短的學習之後,對於C++ 11標準也有所瞭解,在此記錄下來。

一個例子裏來介紹一下右值引用的功能: http://www.cnblogs.com/TianFang/archive/2013/01/26/2878356.html

A Brief Introduction to Rvalue References: http://www.artima.com/cppsource/rvalue.html

Move semantics and rvalue references in C++11: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2027.html 

上文的翻譯:http://blog.csdn.net/liyongofdm/article/details/7667942

C++ 0x 之左值與右值、右值引用、移動語義、傳導模板:http://blog.csdn.net/hikaliv/article/details/4541429

翻譯:怎樣理解 C++ 11中的move語義(深入):http://www.cnblogs.com/tingshuo/archive/2013/01/22/2871328.html

[譯]詳解C++右值引用 :http://amazingjxq.com/2012/06/06/%E8%AF%91%E8%AF%A6%E8%A7%A3c%E5%8F%B3%E5%80%BC%E5%BC%95%E7%94%A8/

C++11 標準新特性: 右值引用與轉移語義: http://www.ibm.com/developerworks/cn/aix/library/1307_lisl_c11/index.html

C++ 標準庫的auto_ptr智能指針: http://my.oschina.net/costaxu/blog/105101

C++STL智能指針auto_ptr: http://www.cnblogs.com/SelaSelah/archive/2012/04/27/2473382.html

auto_ptr智能指針: http://www.360doc.com/content/10/0902/09/2795334_50554604.shtml

C++ 11標準介紹: http://blog.csdn.net/zhuxianjianqi/article/details/8658169

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章