omni::swap

Defined in omni/String.h

void omni::swap(string &lhs, string &rhs) noexcept

Swaps lhs and rhs via lhs.swap(rhs).

Parameters
  • lhs – String to swap.

  • rhs – String to swap.

Returns

none.