I have a quick question. I have read about "expected unqualified-id" errors and how they occur when a loop is outside of a method. The issue I am having is that the loop is inside a method and I am still getting this? Any assistance would be greatly appreciated.
The error in compiler:
expected unqualified-id
for(auto template : filtered) {
^
The code:
py::str process(string text){
//some code...
for(auto template : filtered) {
//some more....
}
//a return
}
Aucun commentaire:
Enregistrer un commentaire