P
Peter Olcott
I created an object that requires access to another objects data, yet have found
no good way to pass this data as a parameter because the member function that
requires this data must be a binary predicate for std::sort. The only way that
I got it to work so far is to make the other object global. Are there any better
ways than this?
Thanks,
Peter Olcott
no good way to pass this data as a parameter because the member function that
requires this data must be a binary predicate for std::sort. The only way that
I got it to work so far is to make the other object global. Are there any better
ways than this?
Thanks,
Peter Olcott