adding a swap operator to be used by algo in another namespace