Topic: [Q] list::sort
Author: "news.one.net" <chadh@entekird.com>
Date: 1998/06/19 Raw View
I'm trying to figure out how to call list::sort(Pred pr). I am using VC
5.0.
How is the pr parameter constructed?
If the list contains pointers and I would like sort to sort the list by the
objects the pointers point to, rather than the pointers themselves, how
would I go about constructing the proper pr parameter?
Thanks for your help,
Chad Hoersten
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]