auto cmpFunc3 = [&](int idx, const SomeBigObject& xx)->bool{ return arr[idx] < xx; }
auto i = std::lower_bound(indices.begin(), indices.end(), x, cmpFunc3);
arr[*i];
じゃあこれで
探検
C++相談室 part155
■ このスレッドは過去ログ倉庫に格納されています
117デフォルトの名無しさん
2021/04/06(火) 17:08:29.35ID:mAZMW+WU■ このスレッドは過去ログ倉庫に格納されています
