Consider a few vectors v1,v2,v3 to which you need to apply one function (for example clear()).
vector <int> v1;
vector <int> v2;
vector <int> v3;
v1.clear();
v2.clear();
v3.clear();
Can I do it in one line? So I need something like that
someHOF(clear(), ls[v1, v2, v3]);