A note about headers
Most function templates discussed in this chapter are defined in the standard header <algorithm>
. The special iterator types, on the other hand, are generally defined in <iterator>
. If you're wondering where to find a specific entity, I strongly recommend that you consult an online reference such as cppreference.com for the authoritative answer; don't just guess!