You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two methods are so similar - both iterate an iterator until they find a value that matches a predicate. The only difference is one returns the element, and one returns its index.
Because of this, they should probably go on the same page. Currently the book doesn't document Iterator::position.