I am trying to create a thread for a fill function with multiple parameters that calls itself: Definition is:
void fill(list<piece> piecesX, list<list<piece>> ply, list<list<list<piece>>> branch, list<list<piece>> branchOrigin, list<int> branchPoints, unsigned char color)
the thread initialization code is as follows:
thread t1(fill, pieces, pl, bran, brOrig, brPt, white);
I keep getting the error:
Unresolved Overloaded function type... no matching function call.
Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire