목록std::search (1)
YOGYUI
std::vector 내부 요소에서 시퀀스 찾기 (find sub-sequence)
에 정의되어 있는 std::search 함수를 사용하면 쉽게 구현할 수 있다 template ForwardIterator1 search (ForwardIterator1 first1, ForwardIterator1 last1, ForwardIterator2 first2, ForwardIterator2 last2); Search range for subsequence Searches the range [first1,last1) for the first occurrence of the sequence defined by [first2,last2), and returns an iterator to its first element, or last1 if no occurrences are found. The ele..
Software/C, C++
2021. 10. 12. 19:15