摘要: 說明了關于STL編程的6個有益的忠告,涉及:
1.The Location of Template Definitions --- 模板定義的位置
2.Standard Base Classes for Function Object --- 函數對象的標準基類
3.Storing Dynamically Allocated Objects in STL Containers --- 在標準模板庫容器中保存動態生成的對象
4.Treating a Vector as an Array --- 將向量容器看作是數組
5.Dynamic Multidimensional Arrays and Vectors --- 動態多維數組與容器
6.Why You Shouldn't Store auto_ptr Objects in STL Containers --- 為什么不能在標準模板庫容器中存儲auto_ptr
閱讀全文