Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » What does Vector::GetIndex do?
What does Vector::GetIndex do? [message #14044] Thu, 07 February 2008 20:59 Go to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
What does Vector::GetIndex do?
Re: What does Vector::GetIndex do? [message #14048 is a reply to message #14044] Thu, 07 February 2008 22:24 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Thu, 07 February 2008 14:59

What does Vector::GetIndex do?


Well, it seemed like good idea at time to provide a function to return index for pointer (or iterator).

As we moved from iterator idea in favor of indicies, it was rarely used. That is why it is not even documented. Kept only to maintain backward compatibility....

Mirek
Re: What does Vector::GetIndex do? [message #14053 is a reply to message #14048] Thu, 07 February 2008 23:11 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
luzr wrote on Thu, 07 February 2008 23:24

cbpporter wrote on Thu, 07 February 2008 14:59

What does Vector::GetIndex do?


Well, it seemed like good idea at time to provide a function to return index for pointer (or iterator).

As we moved from iterator idea in favor of indicies, it was rarely used. That is why it is not even documented. Kept only to maintain backward compatibility....

Mirek

Maybe it should be documented as deprecated. It is easy to confuse it with FindIndex.
Previous Topic: Bug in String/Stream or just misleading documentation?
Next Topic: Serious bug in String comparison or weird feature?
Goto Forum:
  


Current Time: Sun May 05 04:01:25 CEST 2024

Total time taken to generate the page: 0.03968 seconds