Finding a pointer from a list of pointers
Managed C++/CLI
3
Posts
3
Posters
0
Views
1
Watching
-
HI, is it possible to find a pointer from a list of pointers? I know i can do it with find_if and a predicate, but since pointers are just addresses it should probably be possible to search them as if they were integers, with "find" function.
You are correct, you can test pointers for equality so a simple compare will do the job.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
-
HI, is it possible to find a pointer from a list of pointers? I know i can do it with find_if and a predicate, but since pointers are just addresses it should probably be possible to search them as if they were integers, with "find" function.