commit | 172895cac93dba49665516101e8da305e3af6dc8 | [log] [tgz] |
---|---|---|
author | Yuzhiy <44502685+Yuzhiy05@users.noreply.github.com> | Thu Apr 24 16:29:59 2025 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 24 01:36:02 2025 -0700 |
tree | 9a9d25909786264da13bf49216f8a57896838b51 | |
parent | e8cf2667cc3dc345ae4061186bbbe30eaec9d57e [diff] |
[libc++][ranges] Reject non-class types in ranges::to (#135802) This patch adds `static_assert` using `is_class_v` and `is_union_v` to reject no-class type template parameters. Fixes #132133 --------- Co-authored-by: A. Jiang <de34@live.cn> GitOrigin-RevId: 03c2862404a9ab19940f87f8fb2dbe01818ab439