Click here to Skip to main content
15,909,829 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: list::sort() question Pin
peterchen22-Nov-04 8:23
peterchen22-Nov-04 8:23 
GeneralRe: list::sort() question Pin
nm_11422-Nov-04 19:29
nm_11422-Nov-04 19:29 
GeneralRe: list::sort() question Pin
peterchen22-Nov-04 23:15
peterchen22-Nov-04 23:15 
GeneralRe: list::sort() question Pin
nm_11423-Nov-04 13:38
nm_11423-Nov-04 13:38 
GeneralRe: list::sort() question Pin
peterchen23-Nov-04 13:49
peterchen23-Nov-04 13:49 
GeneralRe: list::sort() question Pin
nm_11423-Nov-04 14:08
nm_11423-Nov-04 14:08 
GeneralRe: list::sort() question Pin
toxcct23-Nov-04 8:12
toxcct23-Nov-04 8:12 
GeneralRe: list::sort() question Pin
peterchen23-Nov-04 13:58
peterchen23-Nov-04 13:58 
You mean the lessThan class?

That's what's called a "functor" - it's instances act like a function, but have a few advantages (they can keep per-instance state, and using them as template parameter is much easier).

There is nothing in OO that prohibits an object class to represent an operation.


we are here to help each other get through this thing, whatever it is Vonnegut jr.
boost your code || Fold With Us! || sighist | doxygen

GeneralRe: list::sort() question Pin
toxcct23-Nov-04 21:37
toxcct23-Nov-04 21:37 
GeneralRe: list::sort() question Pin
peterchen23-Nov-04 22:28
peterchen23-Nov-04 22:28 
GeneralRe: list::sort() question Pin
Nemanja Trifunovic24-Nov-04 2:21
Nemanja Trifunovic24-Nov-04 2:21 
GeneralATL7 and VS.NET2k3 wizard, completely stuck Pin
seriema19-Nov-04 10:59
seriema19-Nov-04 10:59 
GeneralRe: ATL7 and VS.NET2k3 wizard, completely stuck Pin
Michael Dunn19-Nov-04 13:25
sitebuilderMichael Dunn19-Nov-04 13:25 
GeneralRe: ATL7 and VS.NET2k3 wizard, completely stuck Pin
seriema19-Nov-04 13:33
seriema19-Nov-04 13:33 
GeneralPrevent IHTMLDocument2 from updating IE screen Pin
Wim Jans19-Nov-04 9:33
Wim Jans19-Nov-04 9:33 
Questionhow to use char* in ATL Pin
yingkou18-Nov-04 23:26
yingkou18-Nov-04 23:26 
AnswerRe: how to use char* in ATL Pin
geo_m18-Nov-04 23:39
geo_m18-Nov-04 23:39 
GeneralRe: how to use char* in ATL Pin
yingkou19-Nov-04 1:56
yingkou19-Nov-04 1:56 
GeneralRe: how to use char* in ATL Pin
geo_m19-Nov-04 2:52
geo_m19-Nov-04 2:52 
GeneralMemory leaks with BSTR Pin
prasad_som18-Nov-04 22:03
prasad_som18-Nov-04 22:03 
GeneralRe: Memory leaks with BSTR Pin
22491718-Nov-04 22:57
22491718-Nov-04 22:57 
GeneralRe: Memory leaks with BSTR Pin
prasad_som18-Nov-04 23:35
prasad_som18-Nov-04 23:35 
GeneralRe: Memory leaks with BSTR Pin
Steve S19-Nov-04 0:20
Steve S19-Nov-04 0:20 
QuestionHow can I create a colour btimap ? Pin
Darked developer18-Nov-04 19:59
Darked developer18-Nov-04 19:59 
AnswerRe: How can I create a colour btimap ? Pin
Rory Solley18-Nov-04 23:34
Rory Solley18-Nov-04 23:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.