Click here to Skip to main content
15,920,801 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow to use m_spClientSite Pin
hdi99kf@syd.kth.se6-Dec-02 2:42
hdi99kf@syd.kth.se6-Dec-02 2:42 
AnswerRe: How to use m_spClientSite Pin
geo_m6-Dec-02 5:25
geo_m6-Dec-02 5:25 
GeneralRe: How to use m_spClientSite Pin
Anonymous6-Dec-02 6:57
Anonymous6-Dec-02 6:57 
GeneralRe: How to use m_spClientSite Pin
geo_m6-Dec-02 8:39
geo_m6-Dec-02 8:39 
QuestionSTL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 15:50
professionalChris Losinger5-Dec-02 15:50 
AnswerRe: STL Q : find_if = poop. any better? Pin
Taka Muraoka5-Dec-02 16:07
Taka Muraoka5-Dec-02 16:07 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 18:27
professionalChris Losinger5-Dec-02 18:27 
GeneralRe: STL Q : find_if = poop. any better? Pin
Taka Muraoka5-Dec-02 18:42
Taka Muraoka5-Dec-02 18:42 
Chris Losinger wrote:
but lower_bound doesn't really do a search.

That's right but I was thinking you could check the *next* element to see if it's the one you want.
note to self: but this doesn't work if the item is not present!

[edit] hmmm... may it does. doesn't matter - equal_range() seems to be the ticket anyway.

Isn't equal_range() exactly what you want anyway? A quick test seems to show that it returns (x,x+1) if you're looking for x and find it or (end,end) if it's not present.



he he he. I like it in the kitchen! - Marc Clifton (on being flamed)

Awasu[^]: A free RSS reader with support for Code Project.

GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 19:23
professionalChris Losinger5-Dec-02 19:23 
GeneralRe: STL Q : find_if = poop. any better? Pin
markkuk7-Dec-02 2:15
markkuk7-Dec-02 2:15 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger7-Dec-02 13:28
professionalChris Losinger7-Dec-02 13:28 
AnswerRe: STL Q : find_if = poop. any better? Pin
Nick Parker5-Dec-02 17:12
protectorNick Parker5-Dec-02 17:12 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 18:08
professionalChris Losinger5-Dec-02 18:08 
GeneralRe: STL Q : find_if = poop. any better? Pin
Tim Smith6-Dec-02 2:25
Tim Smith6-Dec-02 2:25 
GeneralRe: STL Q : find_if = poop. any better? Pin
Todd Smith12-Dec-02 11:45
Todd Smith12-Dec-02 11:45 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger12-Dec-02 12:46
professionalChris Losinger12-Dec-02 12:46 
GeneralATL server multiple instances Pin
Sébastien Lescure4-Dec-02 12:03
sussSébastien Lescure4-Dec-02 12:03 
GeneralRe: ATL server multiple instances Pin
Vi25-Dec-02 4:56
Vi25-Dec-02 4:56 
GeneralActiveX Control (ATL) - Properties irratic behaviour Pin
Tushar Bhatt3-Dec-02 23:50
Tushar Bhatt3-Dec-02 23:50 
GeneralDepcrecated stl-streams Pin
klawipo3-Dec-02 8:52
klawipo3-Dec-02 8:52 
GeneralRe: Depcrecated stl-streams Pin
Christian Graus3-Dec-02 10:53
protectorChristian Graus3-Dec-02 10:53 
GeneralRe: Depcrecated stl-streams Pin
klawipo3-Dec-02 11:52
klawipo3-Dec-02 11:52 
GeneralRe: Depcrecated stl-streams Pin
Christian Graus4-Dec-02 9:43
protectorChristian Graus4-Dec-02 9:43 
GeneralRe: Depcrecated stl-streams Pin
Taka Muraoka5-Dec-02 16:09
Taka Muraoka5-Dec-02 16:09 
QuestionATL 7: How to _Module.GetModuleInstance()? Pin
Binky3-Dec-02 5:49
Binky3-Dec-02 5:49 

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.