if(it!=data.cend())std::cout<<*it<<" found at index "<<ranges::distance(data.cbegin(), it);usingCD=std::complex<double>;std::vector<CD>nums{{1,0},{2,2},{2,1},{3,0}};autocmpz=[](CD x, CD y){returnx.real()<y.real();};#ifdef __cpp_lib_algorithm_default_value_...
Proj>> Comp = ranges::less> constexpr ranges::borrowed_iterator_t<R> operator()( R&& r, const T& value, Comp comp = {}, Proj proj = {} ) const { return (*this)(ranges::begin(r), ranges::end(r), value,std::ref(comp),std::ref(proj)); } }; inline constexpr lower_boun...