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

Home » U++ Library support » U++ Core » Array : swapping element with a pointer
Re: Array : swapping element with a pointer [message #33758 is a reply to message #33757] Sat, 10 September 2011 22:11 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1310
Registered: September 2007
Ultimate Contributor
That one should do the job for ArrayMap too :

void Swap(int i, T*&ptr) { value.Swap(i, ptr); }


It would be possible to add both to Core ?

Max

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why this one leaks ?
Next Topic: [SOLVED] String.GetCount with umlaut
Goto Forum:
  


Current Time: Wed Jun 24 02:12:21 GMT+2 2026

Total time taken to generate the page: 0.00756 seconds