Talk:cpp/algorithm/find
From cppreference.com
Return value Iterator to the first element satisfying the condition or last if no such element is found... Why "last"? Doesn't it return "-1"? Rosstopher (talk) 06:32, 10 June 2015 (PDT)
no, it doesn't return -1. Perhaps you're thinking of std::string::find? --Cubbi (talk) 06:43, 10 June 2015 (PDT)