Re: STL list - advanced sorting
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Sat, 2 Dec 2006 15:25:04 -0500
"neilsolent" <neil@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1165082500.475242.59540@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
The objects I put in the container are quite complex, not integers or
anything you would consider to be simple keys.
Sets can store anything for which you can provide an ordering predicate.
And since you keep talking about sorting, you clearly can.
I need to be able to
sort on various attributes of the objects ..
You might want to look at Boost's multi-index containers:
http://www.boost.org/libs/multi_index/doc/index.html
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- STL list - advanced sorting
- From: neilsolent
- Re: STL list - advanced sorting
- From: Eric Hill
- Re: STL list - advanced sorting
- From: neilsolent
- Re: STL list - advanced sorting
- From: Carl Daniel [VC++ MVP]
- Re: STL list - advanced sorting
- From: neilsolent
- STL list - advanced sorting
- Prev by Date: Re: STL list - advanced sorting
- Next by Date: Re: file concurrency question...
- Previous by thread: Re: STL list - advanced sorting
- Next by thread: file concurrency question...
- Index(es):
Relevant Pages
|