i have vector
std::vector<std::string> v = {"--d","--e","--f"};
i don't want to go with the loop rout
for (auto it = v.begin(); it != v.end(); ++it){
...
}
is there any more elegant way to check if all elements in the vector start with "-" ? can use c++17