inlined ex::swap() and provided versions of iter_swap() for ex and expair