This patch makes swap functions constexpr. Both swap overloads, swap_ranges and iter_swap are updated (with tests).

llvm-svn: 365238
GitOrigin-RevId: 28e0187175ceeadae61d01fcedefa15f97f454f0
6 files changed