[libc++] Implement `swap(locale&, locale&)` optimization using a specialization
Open
libc++
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Per https://github.com/llvm/llvm-project/pull/209760#discussion_r3589478901 and the resulting LWG discussion, we should implement the `swap(locale&, locale&)` optimization using a specialization, not by introducing a new overload
Contributor guide
Assessment
This issue has not been assessed yet.