Share this post

Link to post

Share on other sites

No offense: I guess you really copied and pasted the code from somewhere without understanding it at all, because you would have recognized that we were not asking for that fuction, but rather for the definition of

Share this post

Link to post

Share on other sites

Should be possible if "...->pulled_by[12]" and "....pulling" are non-const references, or if you overloaded the assignment operators for their types. Plus "...->pulled_by[12]" must be of the same type.