August 28th, 2003, 05:08 PM
Test if std::vector<> contains a specific entry
How do I test to see whether or not a vector contains a specific entry? I've looked all over the MSDN doc on std::vector and I don't see anything.
Aside from looping through the vector manually, what do I do to determine if the vector contains the value 20?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!