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

36 Коммитов

Автор SHA1 Сообщение Дата
A. Jiang 80e0909966
ADL-proof container operations for iterator pairs and comparators (#4258)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-01-17 03:26:36 -08:00
Stephan T. Lavavej 245e703942
Toolset update: VS 2022 17.9 Preview 2, Clang 17 (#4259) 2023-12-14 13:56:17 -08:00
Alex Guteniev 939513b9aa
Update preprocessor `#else` and `#endif` comment (#3950)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-09-21 12:42:29 -07:00
Stephan T. Lavavej 92d050e02b
Drop `#pragma once` in STL headers (#3895) 2023-07-26 11:54:17 -07:00
Stephan T. Lavavej 23a5a53143
Toolset update: VS 2022 17.7 Preview 3, Clang 16.0.5 (#3866) 2023-07-13 18:18:54 -07:00
achabense 45111bbc67
Remove redundant template parameters for `_XX_iter_types` (#3765) 2023-06-15 02:12:53 -07:00
Stefan 191265210b
Introduce `_Is_transparent` helper trait (#3736)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-06-15 01:36:51 -07:00
A. Jiang 71e404b297
Expand `std::iter_swap` and remove `_Swap_adl` (#3700)
Also
- Move `std::iter_swap` from `<utility>` to `<algorithm>`.
- In `_Partition_by_median_guess_unchecked`, only evaluate `_Prev_iter(_Glast)` once.

Fixes #2692.
2023-05-18 13:33:42 -07: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
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 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
Igor Zhukov 5c2d2ad545
add default ctor for node types (#2782)
Co-authored-by: A. Jiang <de34@live.cn>
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-06-25 14:50:00 -07:00
Stephan T. Lavavej baef90317d
More various cleanups (#2621) 2022-04-04 13:13:16 -07:00
Alex Guteniev 7312e5b356
Untag dispatch tree (#2287) 2022-03-19 02:40:33 -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
Alex Guteniev 2ff81498dd
P2077R3 Heterogeneous Erasure Overloads (#2350)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-12-16 18:39:50 -08: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
Daniel Marshall 472161105d
Remove SHOUTY BANNERS (#2074)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:33:09 -07:00
Stephan T. Lavavej 9a9820df1a
Toolset update: VS 2022 17.0 Preview 2 (#2064) 2021-07-19 17:53:06 -07:00
Niels Dekker b95ba0ef2f
Avoid calling size() in empty() member functions (#1836) 2021-04-30 17:28:23 -07:00
Stephan T. Lavavej b52c3797e2
P1614R2 Adding Spaceship <=> To The Library (#1678)
Co-authored-by: Ahana Mukhopadhyay <t-ahmukh@microsoft.com>
Co-authored-by: Anju Del Moral Gonzalez <judelmor@microsoft.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Charlie Barto <chbarto@microsoft.com>
Co-authored-by: Curtis Bezault <cubezaul@microsoft.com>
Co-authored-by: d-winsor <danwin@microsoft.com>
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@googlemail.com>
Co-authored-by: statementreply <statementreply@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-02-24 16:19:31 -08:00
Stephan T. Lavavej 2ce62b5848
Always use `if constexpr`, require CUDA 10.1 Update 2 (#1544) 2021-01-05 17:19:12 -08:00
Stephan T. Lavavej 7e07ed8188
Improve type traits usage (#1413) 2020-11-06 16:31:40 -08:00
Hamid Reza Arzaghi f6c8d335c4
<xtree>: Fix _Tree move constructor/assignment (#1357)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-10-29 00:38:16 -07:00
Michael Schellenberger Costa 2c912e9b18
Strengthen noexcept specification for container iterators (#1227)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-08-26 00:58:38 -07:00
Stephan T. Lavavej 294355d4fa
Provide comparison operators for map/set/etc. instead of _Tree (#1022)
Fixes #215.
2020-07-11 15:42:17 -07:00
Stephan T. Lavavej e4bc00e70c
Remove and update compiler bug workarounds (#742) 2020-04-30 02:23:37 -07:00
Billy O'Neal ff83542af4
Update to Clang 10 and Visual Studio 2019 version 16.6p2 (#645)
* Update to Clang 10 and Visual Studio 2019 version 16.6p2

* re-clang-formats the tree to comply with new clang 10 clang-format
* updates our agents to F series VMs which are faster and cheaper for our build workloads
* defaults scale set to 0 VMs and lets the Azure Pipelines service control all resizing
* fix tests to pass with the new compilers

Co-authored by Casey Carter and Curtis Bezault
2020-03-28 18:53:15 -07:00
Jean Philippe 577827a79a
Consistently use empty braces to construct tags (#497)
Fixes #468.
2020-02-29 14:21:41 -08:00
Billy O'Neal 482f1d8088
Reduce the amount of content included by <array> (#482)
* Reduce the amount of content included by <array>.

Resolves GH-462.

* Demote `back_inserter` and `iterator` to `<iterator>`.
* Demote `_Yarn` to `<xlocinfo>`.
* Demote `_Tidy_guard`, `_Tidy_deallocate_guard`, and `_Nothrow_compare` to `<xmemory>`.
* Promote `_Swap_ranges_unchecked` to `<xutility>`.
* Change `<array>` to include only `<xutility>`.

* Un-demote iterator.

* Workaround many RWC projects that expected std::min and std::max to come from <array>.

* Remove the `_STL_ASSERT` from `std::min` and `std::max`. We normally guard every `op<` with debug checks, but in this case we aren't using it to enforce something like a container invariant; the number of bad op<s we catch with it are likely microscopic.
* Delete `_Min_value` and `_Max_value` from `<utility>`.
* Move `min` and `max` to `<utility>` (in the exact position as the old `_Min_value` and `_Max_value`)
* Change all existing callers of `_Min_value` and `_Max_value` to call `(_STD min)` and `(_STD max)`, respectively.

* Homogenize vector algorithm guards.
2020-02-21 05:55:22 -08:00
Michael Schellenberger Costa 3b0a1c9cfa Consistently use "int = 0" SFINAE (#226)
Fixes #187.

Add TRANSITION comments for #248 and #249, blocked by compiler bugs.

Add `_Enabled` names. When we don't have `enable_if_t`, this makes the
template parameter's purpose clearer. When we do have `enable_if_t`
but without `= 0`, this makes it somewhat clearer that we haven't
forgotten the default argument (it's simply elsewhere).
2019-11-01 18:15:37 -07:00
Krystyna Lopez a69a00e33b Fix #218 - remove public redundancy (#219) 2019-10-25 11:26:59 -07:00
Stephan T. Lavavej 712b7971bd
Update comments to follow custom autolink syntax (#168)
* Use custom autolinks.

* Also update .clang-format.

* Use ArchivedOS.
2019-10-11 13:43:06 -07:00
Stephan T. Lavavej 219514876e Initial commit. 2019-09-04 15:57:56 -07:00