共用方式為


list::const_iterator

提供雙向 Iterator 可讀取清單中的 const 項目的型別。

typedef implementation-defined const_iterator;

備註

型別 const_iterator 不能用來修改項目的值。

範例

上一頁。請參閱範例。

需求

標題: <list>

命名空間: std

請參閱

參考

list Class

標準樣板程式庫