P99

◆ p99_swap1()

void p99_swap1 ( void p00_p0,
void p00_p1,
size_t  p00_size 
)
inline

Swap the contents of the arguments.

This uses one temporary object, allocated on the heap.

See also
P99_SWAP for a macro that is generally better adapted, since all allocation is done on the stack.
p99_swap2

Definition at line 83 of file p99_swap.h.