Re: [Boost-users] Question on ptr_vector class

21 Mar
2006
21 Mar
'06
3:09 p.m.
boost-users-bounces@lists.boost.org wrote:
hi sebastien, try the following changes... 1) make the sort function static class meteorlogicalObj { ... static bool sortOnValue(const meteorlogicalObj&, const meteorlogicalObj&); ... }; 2) call sort like this metObjVec.sort(&meteorlogicalObj::sortOnValue); HTH dave
7034
Age (days ago)
7034
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Klein