The "bool *ok" solution is the best. If you can't alter the arguments but you can alter the returned value you can useQt Code:
QPair<bool, QList<int> > returnListFunction() {}To copy to clipboard, switch view to plain text mode
The "bool *ok" solution is the best. If you can't alter the arguments but you can alter the returned value you can useQt Code:
QPair<bool, QList<int> > returnListFunction() {}To copy to clipboard, switch view to plain text mode
Bookmarks