C++相談室 part61 at TECH
[2ch|▼Menu]
53:デフォルトの名無しさん
08/03/12 23:42:33
>>51
定型はこう、かな

iterator it = map.lower_bound(key);
if(it == map.end() || it->first != key) {
it = map.insert(it, Dummy());
}
Dummy &d = it->second;


次ページ
続きを表示
1を表示
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

4573日前に更新/200 KB
担当:undef