mardi 23 août 2016

C++11 equivalent to Python's all() function

Is there an equivalent function to Python's all() built-in function?

In other words: Does a C++11 function exist that returns true when all of the elements of an iterable meet a certain condition and false otherwise?

Aucun commentaire:

Enregistrer un commentaire