Category: algorithms | Component type: function |
template<class InputIterator, class EqualityComparable> InputIterator find(InputIterator first, InputIterator last, const EqualityComparable& value);
list<int> L; L.push_back(3); L.push_back(1); L.push_back(7); list<int>::iterator result = find(L.begin(), L.end(), 7); assert(result == L.end() || *result == 7);
Contact Us | Site Map | Trademarks | Privacy | Using this site means you accept its Terms of Use |
Copyright © 1993-2006 Silicon Graphics, Inc. All rights reserved. |