Given two vectors of copyable elements and a predicate over those items, what is an efficient and idiomatic method for: