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++ Library : Other (not classified elsewhere) » Add and AddPick should return reference to added element
Re: Add and AddPick should return reference to added element [message #1690 is a reply to message #1689] Mon, 13 March 2006 21:47 Go to previous messageGo to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
So what about array.Add().ProcessSomething(s) ? Is that trivial for everyone? The reference is returned for convenience so that client code could operate on the newly inserted element. The same would be needed for the other Add methods.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linux SDL [BUG?][WORKAROUND]
Next Topic: subclassing LineEdit is ugly
Goto Forum:
  


Current Time: Fri Jul 18 17:09:57 CEST 2025

Total time taken to generate the page: 0.03790 seconds