C++문법

iterator 사용법

skesswswkk 2020. 1. 27. 20:56

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