| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++] Fix {std, ranges}::equal for vector<bool> with small storage types (#130394) The current implementation of {std, ranges}::equal fails to correctly compare vector<bool>s when the underlying storage type is smaller than int (e.g., unsigned char, unsigned short, uint8_t and uint16_t). See [demo](https://godbolt.org/z/j4s87s6b3)). The problem arises due to integral promotions on the intermediate bitwise operations, leading to incorrect final equality comparison results. This patch fixes the issue by ensuring that {std, ranges}::equal operate properly for both aligned and unaligned bits. Fixes #126369. | 1 年前 | |
[libc++] Do not call reserve in flat containers if underlying container is user defined (#140379) This is brought up in the LWG reflector. We currently call reserve if the underlying container has one. But the spec does not specify what reserve should do for Sequence Container. So in theory if the underlying container is user defined type and it can have a function called reserve which does something completely different. The fix is to just call reserve for STL containers if it has one | 1 年前 | |
[libc++] Granularize <vector> (#99705) | | old time | new time | | ------------------ | -------- | -------- | | functional - c++23 | 416ms | 225ms | | random - c++23 | 513ms | 392ms | | vector - c++17 | 206ms | 100ms | | 1 年前 | |
[libc++] Granularize <vector> (#99705) | | old time | new time | | ------------------ | -------- | -------- | | functional - c++23 | 416ms | 225ms | | random - c++23 | 513ms | 392ms | | vector - c++17 | 206ms | 100ms | | 1 年前 | |
[libc++] Granularize <vector> (#99705) | | old time | new time | | ------------------ | -------- | -------- | | functional - c++23 | 416ms | 225ms | | random - c++23 | 513ms | 392ms | | vector - c++17 | 206ms | 100ms | | 1 年前 | |
[libc++] Remove __is_replaceable emulation (#167355) The Trivial Relocation feature has been removed from the C++26 working draft. Based on discussions in Kona, it is unlikely that the "replaceable" type concept will come back in the C++29 time frame. Since we don't have a use for the type trait in the library at the moment, remove the code associated to it. If we end up needing something like it in the future, we can always add it back. | 8 个月前 | |
[libc++] Use std::__{scope,exception}_guard throughout the code base (#161322) This simplifies the code quite a bit and seems to improve code size slightly in some cases. | 9 个月前 | |
| 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 9 个月前 | ||
| 1 年前 |