Is it possible to pass an operator to a lambda? For example passing some operator op to the function below.
auto lambdaCompare = [](value,compare1,compare2,op){return value op compare1 and value op compare2;};
Aucun commentaire:
Enregistrer un commentaire