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 » 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: Tue Aug 26 21:06:18 CEST 2025

Total time taken to generate the page: 0.01028 seconds