U++ framework
Do not panic. Ask here before giving up.

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: Sat Apr 25 07:27:53 GMT+2 2026

Total time taken to generate the page: 0.00431 seconds