[all-commits] [llvm/llvm-project] e2cfdf: [libc++] Fix vector<const T> (#80711)
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Mon Feb 5 15:51:44 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e2cfdf7b6a09a2159a2ce3cf4fff022b6d98b928
https://github.com/llvm/llvm-project/commit/e2cfdf7b6a09a2159a2ce3cf4fff022b6d98b928
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-02-05 (Mon, 05 Feb 2024)
Changed paths:
M libcxx/include/__memory/uninitialized_algorithms.h
A libcxx/test/libcxx/containers/sequences/vector/const_T.compile.pass.cpp
Log Message:
-----------
[libc++] Fix vector<const T> (#80711)
#80558 introduced code that assumed that the element type of `vector` is
never const. This fixes it and adds a test. Eventually we should remove
the `allocator<const T>` extension.
More information about the All-commits
mailing list