Effective C++ (9): Miscellany

Introduction

雜項

Rule 53: Pay attention to compiler warnings

Remeber:

  • 嚴肅對待編譯器發出的警告信息.
  • 不要過度依賴編譯器的警告信息, 因爲不同的編譯器對待事情態度並不相同

Rule 54: Familiarize yourself with the standard library, including TR1

Remeber:

  • C++ 標準程序庫的主要機能由 STL, iostreams, locales組成, 幷包含 C99 標準程序庫
  • TR1 添加了智能指針, 一般化函數指針, hash-based容器, 正則表達式以及另外10個組件的支持
  • TR1自身只是一份規範,爲獲得TR1提供的好處, 你需要一份實物,實物來源是 Boost

Rule 55: Familiarize yourself with Boost

Remeber:

  • Boost是一個社羣, 也是一個網站. 致力於免費, 源碼開放, 同僚複審的 C++ 程序庫開發. Boost在C++標準化過程中扮演深具影響力的角色
  • Boost提供許多 TR1 組件實現品, 以及其他許多程序庫.

系列文章

Effective C++ (1): Accustoming Yourself to C++
Effective C++ (2): Constructors, Destructors, and Assignment Operators
Effective C++ (3): Resource Management
Effective C++ (4): Designs and Declaration
Effective C++ (5): Implementation
Effective C++ (6): Inheritance and Oject-Oritent Design
Effective C++ (7): Templates and Generic Programming
Effective C++ (8): Customizing new and delete
Effective C++ (9): Miscellany

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