llvm / llvm/llvm-project

[libc++] Implement `swap(locale&, locale&)` optimization using a specialization

Open
#213,965 0 comments 0 reactions 1 assignee Claimed by @philnik777 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.