I\'ve seen the tilde operator used in the ELF hashing algorithm, and I\'m curious what it does. (The code is from Eternally Confused.)
unsigned elf_hash ( vo
It is the bitwise NOT operator. It inverts all bits in an integer value.