A. Jiang
51ba9819b4
[libc++][test] Fix size_type
issues with MinSequenceContainer
and min_allocator
( #126267 )
...
`MinSequenceContainer::size` can be narrowing on 64-bit platforms, and
MSVC complains about such implicit conversion. This PR changes the
implicit conversion to explicit `static_cast`.
`min_allocator::allocate` and `min_allocator::deallocate` have
`ptrdiff_t` as the parameter type, which seems weird, because the
underlying `std::allocator`'s member functions take `size_t`. It seems
better to use `size_t` consistently.
2025-02-08 09:26:59 +08:00
..
2024-10-12 09:49:52 +02:00
2024-09-16 15:06:20 -04:00
2023-12-10 05:19:55 -08:00
2024-09-05 12:41:20 -04:00
2024-05-07 18:35:25 +02:00
2024-09-11 08:59:46 +02:00
2024-08-24 09:55:17 -07:00
2023-11-27 02:11:24 +01:00
2024-10-21 15:04:06 -07:00
2024-10-17 10:38:29 -04:00
2024-08-22 11:47:56 +02:00
2025-02-06 17:55:02 +01:00
2024-05-09 18:39:08 +02:00
2023-12-06 11:42:55 -05:00
2024-09-05 12:41:20 -04:00
2023-11-27 02:11:24 +01:00
2024-09-11 08:59:46 +02:00
2024-08-01 10:57:21 +02:00
2023-11-16 12:08:19 +01:00
2024-03-29 12:06:09 +01:00
2024-08-20 14:36:11 -04:00
2025-01-08 17:34:48 -05:00
2024-07-05 11:25:59 +02:00
2024-09-16 15:06:20 -04:00
2024-08-26 17:52:33 -04:00
2024-09-16 15:06:20 -04:00
2024-12-05 15:44:05 -05:00
2024-04-22 10:14:54 -04:00
2023-11-27 02:11:24 +01:00
2024-09-12 09:48:59 -04:00
2023-12-19 21:57:50 -08:00
2025-02-08 09:26:59 +08:00
2025-02-08 09:26:59 +08:00
2024-05-28 12:20:58 -07:00
2024-06-18 11:01:43 +02:00
2024-05-09 18:39:08 +02:00
2024-09-16 15:06:20 -04:00
2024-09-05 12:41:20 -04:00
2024-08-16 13:50:05 -05:00
2024-09-12 15:07:49 -04:00
2025-02-05 11:39:49 -05:00
2024-12-10 10:24:40 -05:00
2024-07-31 12:58:09 -04:00
2024-04-10 20:34:58 +02:00
2023-12-13 19:00:37 +00:00
2023-11-27 02:11:24 +01:00
2024-09-16 15:06:20 -04:00
2024-02-17 16:27:43 +01:00
2024-02-17 16:27:43 +01:00
2024-08-20 14:36:11 -04:00
2025-01-24 09:34:42 +01:00
2024-04-17 21:32:23 -07:00
2024-09-05 12:41:20 -04:00
2024-03-26 09:39:20 -04:00