j
k
j a
j l
I have a list of A pointers: vector aVector; And i have a function which takes a A reference. void myFunc(A& a); how can I loop thru aVector to call myFunct? for_each (aVector;.begin(), aVector;.end(), bind (&myFunc, _1)); // does not compile. Thanks for any help.
Back to the thread
Back to the list