본문 바로가기

C++문법

iterator 사용법

vector::iterator low = lower_bound(v.begin(), v.end(), tmp);
*low = tmp;