Top "Swap" questions

Changing position of two items.

Can I swap colors in image using GD library in PHP?

I got the image like this (it's a graph): (source: kitconet.com) I want to change the colours, so the …

php colors gd swap imagefilter
sort() - No matching function for call to 'swap'

Just spent about an hour trying to figure out why I would get 20 error messages of the type "Semantic issue …

c++ xcode sorting compiler-errors swap
Is specializing std::swap deprecated now that we have move semantics?

Possible Duplicate: Move semantics == custom swap function obsolete? This is how std::swap looks like in C++11: template<typename …

c++ templates c++11 swap move-semantics
Command-line to reverse byte order/change endianess

I'm hacking around in some scripts trying to parse some data written by Javas DataOutputStream#writeLong(...). Since java always seems …

java swap endianness dataoutputstream
Add swap memory with ansible

I'm working on a project where having swap memory on my servers is a needed to avoid some python long …

memory amazon-web-services swap ansible
What can I do with a moved-from object?

Does the standard define precisely what I can do with an object once it has been moved from? I used …

c++ c++11 variable-assignment swap move-semantics
how to update swap values of two rows with single query

Is there a query with which i can exchange the values of two rows with single query?

mysql swap
Swapping elements in an NSMutableArray

Are there any special methods to make swapping elements in an NSMutableArray easier or more direct?

objective-c cocoa-touch sorting nsmutablearray swap
Swapping 2 Bytes of Integer

I have a method that receives 3 parameters: int x, int n, and int m. It returns an int with the …

c byte swap byte-shifting
Image swap jquery mouseover

I am currently having some problems getting a mouseover and mouseout function to work in jquery. I have two images …

jquery image mouseover swap mouseout