how to cehck if list has element c 2b 2b

Solutions on MaxInterview for how to cehck if list has element c 2b 2b by the best coders in the world

showing results for - "how to cehck if list has element c 2b 2b"
Louisa
29 May 2019
1bool found = (std::find(my_list.begin(), my_list.end(), my_var) != my_list.end());