C++相談室 part61
at TECH
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