【C++】STL(Standard Template Library)相談室 4
at TECH
141:デフォルトの名無しさん
05/11/12 21:22:43
>>138
23.1.1 Sequences Table 67
Sequence requirements (in addition to container)
expression │return type │assertion/note
│ │pre/post-condition
────────────
a.insert(p,i,j) │void . │pre: i,j are not iterators into a.
│ │inserts copies of elements in [i,j) before p.
とあるから、std::vectorにおいて、自分のiteratorを使っての
挿入にはinsertを使用してはならない。
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
4269日前に更新/228 KB
担当:undef