1 find(vec.begin(), vec.end(), val)
【C++ Primer 第10章】 1.概述
原文:https://www.cnblogs.com/sunbines/p/9014956.html