Граф коммитов

94 Коммитов

Автор SHA1 Сообщение Дата
cristei 297c123ccc
`static_assert` that container and allocator type parameters are object types (#2436)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-04-13 19:52:38 -07:00
A. Jiang 6645bc3fb2
Implement LWG-3870 Remove `voidify` (#3475)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-03-28 11:47:59 -07:00
A. Jiang daa994bfc4
Implement P2652R2 Disallowing User Specialization Of `allocator_traits` (#3542)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-03-07 12:00:37 -08:00
Stephan T. Lavavej 326473d595
Cleanups: Formatting and comments (#3523)
Co-authored-by: Jakub Mazurkiewicz <mazkuba3@gmail.com>
2023-03-07 11:33:51 -08:00
Stephan T. Lavavej 0c16581485
Cleanups: Consistently comment `enable_if_t` definitions (#3539) 2023-03-07 10:36:21 -08:00
A. Jiang 9051d5e948
Implement LWG-3821 `uses_allocator_construction_args` should have overload for `pair-like` (#3509)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2023-03-03 15:26:36 -08:00
A. Jiang 4892676d2f
Implement LWG-3677 Is a cv-qualified `pair` specially handled in uses-allocator construction? (#3396)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-26 00:07:50 -08:00
nicole mazzuca ab26a2115c
remove unused internal identifiers (#3299)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-11 15:44:06 -08:00
Casey Carter cae6660161
Qualify calls to helpers that are in both _STD and _RANGES (#3270) 2022-12-15 14:52:46 -08:00
nicole mazzuca faaf094ee1
Re-enable ASAN string annotations (#3164)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-12-15 13:41:42 -08:00
Igor Zhukov be29af22c0
standardize `^^^ x / !x vvv` comments (#3208)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-12-06 14:25:25 -08:00
Stephan T. Lavavej 2f8342a3a5
Toolset update: VS 2022 17.4 Preview 3, Clang 15 (#3155)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-10-14 13:00:48 -07:00
Stephan T. Lavavej 2f03bdf361
P2465R3 Standard Library Modules `std` And `std.compat` (#3108) 2022-09-19 14:47:02 -07:00
nicole mazzuca 449502909c
Unwrappable iter/sent pairs! (#3024)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-31 16:17:10 -07:00
Alex Guteniev 539c26c923
[[nodiscard]] messages (#2211)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-31 16:06:54 -07:00
Casey Carter 05e5e6838e
Cleanup product code uses of feature-test macros (#3053)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-26 17:33:09 -07:00
Casey Carter b812b0e22b
`<xmemory>`: `_Uninitialized_copy` doesn't assign, it constructs (#3028)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-11 23:30:12 -07:00
Stephan T. Lavavej 7558a2af16
Change `typedef` to `using` (#3018) 2022-08-11 22:28:42 -07:00
Stephan T. Lavavej 1aca79315d
`<functional>` should avoid including `<memory>` (#2998) 2022-08-09 03:01:49 -07:00
Casey Carter 56446a5eeb
P1206R7 Conversions From Ranges To Containers (#2806)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-09 01:16:51 -07:00
Stephan T. Lavavej 18451dc254
Toolset update: VS 2022 17.3 Preview 3, Clang 14 (#2861)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-07-14 15:03:09 -07:00
Stephan T. Lavavej 183a1e22c4
Toolset update: VS 2022 17.3 Preview 2, CUDA 11.6.0 (#2791)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-06-15 17:50:30 -07:00
Adam Bucior 877cabab45
Use iterator concept in vector's range constructor (#1794)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-06-12 02:18:00 -07:00
A. Jiang 4761b6dabe
`<xmemory>`: Remove `std::allocator<void>` full specialization (#2726)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-05-23 17:45:50 -07:00
S. B. Tam f8748eb6d9
P2321R2 zip: Make `tuple`, `pair`, and `vector<bool>::reference` `indirectly_writable` (#2687)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-05-05 02:20:20 -07:00
Stephan T. Lavavej b9505b9818
Cleanups 3: Simple changes (#2675) 2022-05-01 03:36:42 -07:00
A. Jiang 54f4ac6cd2
Implement LWG-3525: `uses_allocator_construction_args` fails to handle types convertible to `pair` (#2639)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
2022-05-01 02:53:47 -07:00
Stephan T. Lavavej baef90317d
More various cleanups (#2621) 2022-04-04 13:13:16 -07:00
Stephan T. Lavavej 33007ac754
Toolset update: VS 2022 17.1 Preview 2, Clang 13 (#2474) 2022-01-19 17:22:46 -08:00
Casey Carter 3355484683
`allocator::is_always_equal` is deprecated, not removed, in C++20 (#2423) 2022-01-19 16:11:31 -08:00
Igor Zhukov 1881560e04
`<memory>`: Add `nullptr` check in `std::allocator` (#2412) 2022-01-19 15:46:51 -08:00
Curtis J Bezault 2f9f567ffe
`<vector>`: Add ASan annotations. (#2071)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@googlemail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-12-10 20:03:29 -08:00
Casey Carter 3c2fd04d44
Remove improper use of `__declspec(allocator)` (#2328) 2021-11-13 00:37:08 -08:00
Alex Guteniev 6e669f0923
Clean up unnecessary `(void)` casts (#2280) 2021-10-19 19:26:31 -07:00
Alex Guteniev bb210e7bb5
Replace tag dispatch with `if constexpr` for `_Choose_pocca`, `_Choose_pocma` (#2217)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-10-19 17:43:35 -07:00
Rose 32a0cfb22f
Use `static_cast` for `void*` outside of converting to integers (#2096) 2021-10-19 17:31:55 -07:00
Adam Bucior ed318b83a8
Extend `memcpy`, `memmove`, and `memcmp` optimizations (#2158)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-09-24 20:02:24 -07:00
Igor Zhukov 1a985bc4e0
implement LWG-3527 (#2194)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-09-10 20:24:00 -07:00
Stephan T. Lavavej 7565738033
`_Convert_size()` should be conditionally `noexcept` (#2139) 2021-08-26 18:16:35 -07:00
Stephan T. Lavavej 6d2f8b0ed8
Cleanup comments and clang-formatting (#2136) 2021-08-26 17:51:21 -07:00
Daniel Marshall 472161105d
Remove SHOUTY BANNERS (#2074)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:33:09 -07:00
Michael Schellenberger Costa 37b0ce0ce3
Fix race condition in iterator debug machinery (#2060)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-07-30 00:25:40 -07:00
Adam Bucior 8ebfaf8239
Implement P0401R6 Providing Size Feedback In The Allocator Interface (#2036)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-07-29 20:31:12 -07:00
Adam Bucior 889da00d70
Forward declare `uses_allocator_construction_args` (#2023)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2021-07-19 18:08:33 -07:00
Stephan T. Lavavej 9a9820df1a
Toolset update: VS 2022 17.0 Preview 2 (#2064) 2021-07-19 17:53:06 -07:00
Michael Schellenberger Costa 96f4b66105
Fix missing `_CONSTEXPR20_CONTAINER` on `_Alloc_temporary` (#1962) 2021-06-11 20:18:56 -07:00
Adam Bucior e326ec1dd9
Optimizations for unreachable sentinels (#1810)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-06-11 19:35:51 -07:00
Charlie Barto c12089e489
P0645R10 <format> Text Formatting (#1821)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Charles Barto <barto.charlie@gmail.com>
Co-authored-by: Elnar Dakeshov <55715127+eldakesh-ms@users.noreply.github.com>
Co-authored-by: MattStephanson <68978048+MattStephanson@users.noreply.github.com>
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@googlemail.com>
Co-authored-by: mnatsuhara <46756417+mnatsuhara@users.noreply.github.com>
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Co-authored-by: statementreply <statementreply@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-04-15 00:30:44 -07:00
Adam Bucior cf15e49e0e
More optimizations for contiguous iterators (#1772) 2021-04-05 16:41:00 -07:00
Adam Bucior dcba13b91e
Optimizations for contiguous iterators (#1433)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
2021-03-22 21:03:26 -07:00