[libcxx-commits] [clang] [libcxx] [Clang] Normalize constraints before checking for satisfaction (PR #161671)
Corentin Jabot via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Oct 5 08:59:09 PDT 2025
cor3ntin wrote:
@ronlieb can you try again with trunk ? it should be fixed by https://github.com/llvm/llvm-project/commit/92d83134b44161cad50198e663b543b46d25b45a
It was reproducible with
```cpp
#include <string>
#include <ranges>
#include <array>
#include <algorithm>
std::array<char, 10> current_thread_name{};
auto test(const std::string& task_name) -> void
{
// Initialize the task management
std::ranges::fill(current_thread_name, '\0');
std::ranges::copy(task_name | std::views::take(10 - 1), current_thread_name.begin());
}````
https://github.com/llvm/llvm-project/pull/161671
More information about the libcxx-commits
mailing list