P99

◆ p99_swap2()

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

Swap the contents of the arguments.

This uses two temporary objects, 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_swap1

Definition at line 56 of file p99_swap.h.