std::search - question about last parameter...
Posted on 2008-06-22
Quote from cplusplus.com:
Forward iterators to the initial and final positions of the searched sequence. The range used is [first1,last1), which contains all the elements between first1 and last1, including the element pointed by first1 but not the element pointed by last1.
Does this mean that if I'm looking for a vector that has a size of 1, that the last element of the main vector won't be searched? I.e:
D wouldn't be found?
Thanking you. :)