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

1180 Коммитов

Автор SHA1 Сообщение Дата
A. Jiang 569cf9bc2d
`<system_error>`: Fix the default constructor of `error_category` conditionally (#3139)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-10-24 13:57:47 -07:00
A. Jiang 61be383a75
Move barrier macros from `<atomic>` to `<xatomic.h>` (#3124) 2022-10-24 13:52:32 -07:00
Jakub Mazurkiewicz bbc5d9b711
Folding algorithms (#3099)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-10-24 13:46:07 -07:00
Jakub Mazurkiewicz bb0938b5e0
P2278R4: `cbegin` should always return a constant iterator ("Iterators" section only) (#3043)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-10-24 12:14:34 -07:00
Tyler Nichols 18ecfbc7b6
P2321R2: Added `std::views::zip`. (#3035)
Co-authored-by: Jakub Mazurkiewicz <mazkuba3@gmail.com>
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-10-24 12:04:52 -07: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
nicole mazzuca b29a16b86e
<thread>: implement LWG-3788 (#3130)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-10-12 07:34:33 -07:00
Casey Carter cdf97467c8
`_STD`-qualify `_Ugly` non-member function calls in `<variant>` (#3148)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-10-12 07:11:13 -07:00
kanhaiya04 88f09afe75
<yvals_core.h>: Update _MSVC_STL_UPDATE to October 2022 (#3147) 2022-10-12 07:08:52 -07:00
S. B. Tam bbb07dfca6
<format>: reduce header dependency (#3128) 2022-10-12 06:53:21 -07:00
Matthias Moulin a14eac53bb
Removed redundant shift in std::gcd (#3127)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-10-12 06:48:05 -07:00
nicole mazzuca 6f467fc5d0
No more 'operation completed successfully' in time_zone::get_info (#3122)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-10-12 06:36:04 -07:00
A. Jiang 6128830457
Restrict ADL for `reference_wrapper` and `thread` (#3101)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-10-12 06:13:50 -07:00
S. B. Tam fe9f8587e0
Check `make_format_args`'s preconditions (#3080)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Sam Huang <samestimable2016@gmail.com>
2022-10-12 06:07:12 -07:00
Igor Zhukov 1fe4d4319b
Update LLVM (#2976)
Updates the reference for the STL's llvm-project submodule. Doing so necessitates changes to:
* `basic_string::resize_and_overwrite` to enable a libc++ test to pass
* `pointer_traits::pointer_to` so "fancy pointers" work with `constexpr basic_string` ([LWG-3454](https://cplusplus.github.io/LWG/issue3454))
* Additions and removals to the `expected_results.txt` and `skipped_tests.txt` files that control the external and internal libc++ test runners
* Remove the workaround for [LLVM-53957](https://github.com/llvm/llvm-project/issues/53957) which has been fixed
* Sync `P0088R3_variant`, `P0220R1_any`, and `P220R1_optional` tests with their upstream libc++ sources

Drive-by:
*  sync `tests/std/tests/P0088R3_variant/env.lst` with `usual_17_matrix.lst`

Dual of MSVC-PR-428240.
2022-10-10 11:16:40 -07:00
Stephan T. Lavavej cd2f4c20d0
Port MSBuild refactoring (#3121)
* Mirror MSVC-PR-422642.
2022-09-28 16:45:25 -07:00
A. Jiang 6794a6a1fb
Make `<xatomic.h>`, `<xbit_ops.h>`, and `<xerrc.h>` core headers (#3116) 2022-09-22 15:12:48 -07:00
A. Jiang 332364826c
`<any>`: Skip the contents when static RTTI is disabled (#3115)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-22 14:41:45 -07:00
Jakub Mazurkiewicz b79bbbc317
Fix `ranges::is_permutation`'s helper lambdas (#3113)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-09-22 14:34:23 -07:00
Casey Carter 57e603e589
Suppress narrowing warnings in `piecewise_constant_distribution::densities` (#3107)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-22 14:27:18 -07:00
Matt Stephanson 8334fcabaa
`<random>`: Implement Lemire's fast integer generation (#3012)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-22 14:15:59 -07:00
Stephan T. Lavavej 2f03bdf361
P2465R3 Standard Library Modules `std` And `std.compat` (#3108) 2022-09-19 14:47:02 -07:00
S. B. Tam 67a96a910f
Implement P2508R1 basic_format_string, format_string, wformat_string (#3074) 2022-09-15 13:52:52 -07:00
nicole mazzuca ac129e595f
Add unwrapping to move_sentinel (#3098)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:59:53 -07:00
Rose cff24b3752
Remove unneeded static_cast of return values. (#3093)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:57:16 -07:00
Rose 5985b06b89
Use a bitwise and instead of shifts (#3092)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:55:15 -07:00
Rose 30606276ac
Move assignment of xchar to declaration (#3091)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:53:47 -07:00
Rose 731b1223bd
Use std::size over sizeof/sizeof (#3090)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:51:04 -07:00
A. Jiang 6cd74fd6ff
`<xlocale>`: _Uglify non-conforming `locale::c_str()` (#3088) 2022-09-13 14:44:25 -07:00
Rose 7eea1bf17e
Remove unneeded static casts (#3086) 2022-09-13 14:42:48 -07:00
Rose 16f50a915c
Compare the _W_decimal_point of the localeconv, not the decimal_point of said localeconv (#3085)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:41:29 -07:00
Rose 7fb15392a8
Access _Clocptr statically, instead of through an instance (#3084) 2022-09-13 14:39:43 -07:00
Rose 0c9af46b3d
Remove unneeded static_cast for xexp (#3083)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:38:10 -07:00
Stephan T. Lavavej 5e14dfe73f
Skip Azure Pipelines for draft PRs (#3078) 2022-09-13 14:31:38 -07:00
Ellis Nielsen cade0a7004
<yvals_core.h> Update P2549 to new revision (#3075) 2022-09-13 14:24:31 -07:00
Teodor Sorescu cbbbf4dbff
Update _MSVC_STL_UPDATE to September 2022 (#3073) 2022-09-13 14:21:24 -07:00
Casey Carter 82c81e8fb1
Check the slide_view constructor precondition added by LWG-3711 (#2949)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-09-13 14:17:55 -07:00
Casey Carter f70a608a01
Update `variant` "all types same/convertible" metaprogramming (#3070) 2022-09-03 15:47:03 -07:00
Stephan T. Lavavej 03527597a2
Improve warning suppressions for header units (#3069) 2022-09-03 15:38:47 -07:00
Alex Guteniev 0962491c91
Update `get_future`'s `[[nodiscard("message")]]` (#3068)
Co-authored-by: Jovibor <jovibor@users.noreply.github.com>
2022-09-03 15:36:20 -07:00
Stephan T. Lavavej af8adfa73b
Enable `__builtin_bit_cast` for CUDA (#3066) 2022-08-31 18:13:38 -07:00
A. Jiang 434f83cbc3
Implement P2438R2 `string::substr() &&` (#3057)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-31 17:12:31 -07:00
A. Jiang f441292bb4
`<__msvc_int128.hpp>`: Backport 128-bit integer-class types to C++14 mode (#3036)
Co-authored-by: Matt Stephanson <stephanson.matt@gmail.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-31 16:23:13 -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
Igor Zhukov de060c5fce
add _ENFORCE_ONLY_CORE_HEADERS (#2068)
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@gmail.com>
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-31 16:00:51 -07:00
David Olsen 8ca7bd3c00
Parallel for_each iterators don't have to be mutable (#3056) 2022-08-26 17:47:26 -07:00
Igor Zhukov c23bbd898f
add `__forceinline` to `std::unreachable` instead of `inline` (#3055)
Co-authored-by: Alexander Bessonov <alexbav@hhdsoftware.com>
2022-08-26 17:43:53 -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
Adam Bucior 473245cca7
Implement P2291R3 `constexpr` Integral `<charconv>` (#3049)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-26 17:26:32 -07:00
Casey Carter 7cdd700459
`ranges::distance` fails to emulate the Standard's two overload presentation (#2987)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-26 17:21:59 -07:00
nicole mazzuca 04e304b147
Implement P2494R2 Relaxing Range Adaptors To Allow Move-Only Types (#2965)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: A. Jiang <de34@live.cn>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-08-26 17:15:58 -07:00
Igor Zhukov f241c79ac1
<regex>: add checks for integer overflow (#2169)
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-26 17:03:29 -07:00
Stephan T. Lavavej febb6430ac
Fix `pair::swap(const pair&)` and `tuple::swap(const tuple&)` errors with `__declspec(dllexport)` (#3045) 2022-08-22 14:29:25 -07:00
Stephan T. Lavavej 2a1b881e2f
`_Fake_copy_init` unification (#3041) 2022-08-22 14:26:39 -07:00
Casey Carter ad18417c3e
Test ASAN SSO string copies; improve `basic_string::_Construct` preconditions (#3039)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-08-22 14:18:38 -07:00
S. B. Tam ff29e7a6d0
Implement P2419R2 Clarify Handling Of Encodings In Localized Formatting Of `chrono` Types (#2977)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-22 14:13:08 -07:00
Ukilele 2ae879b73c
P2387R3 Pipe for user defined range adaptors (#2661)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-22 14:05:48 -07:00
Igor Zhukov 22d6408f24
Use `int = 0` SFINAE in `<memory>` to improve compiler throughput (#2124)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-08-22 14:00:11 -07:00
Alex Guteniev 39b29dd049
Fix null function check for `move_only_function` (#3038)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-18 14:27:45 -07:00
Igor Zhukov ed0e3e5ad9
`<string_view>`: suppress warning about annotation 'NullTerminated' (#3032)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-08-18 14:22:21 -07:00
Thomas Wise ae0c274dd3
Mark several functions as noexcept. (#1937)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-18 14:14:03 -07:00
nicole mazzuca ebbc9908ad
make _Get_unwrapped noexcept when possible (#2991)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-08-16 12:34:52 -07:00
Michael Schellenberger Costa 5def9e7c6b
Improve exception specification of iterator machinery (#1347)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-08-16 12:30:23 -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 1cc751a81c
Add escape hatches for source-breaking throughput improvements (#3027) 2022-08-11 23:25:15 -07:00
Casey Carter fea2b8cfee
Implement `(chunk_view<forward>|stride_view)::iterator::operator(\+=|-=)` in O(1) (#3023)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
2022-08-11 22:38:26 -07:00
A. Jiang 35cf7df0cf
`<vector>`: Apply append-and-rotate for `vector<bool>` insertion (#3021)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-11 22:34:45 -07:00
Dale MVB db3eb43d22
Update _MSVC_STL_UPDATE (#3020) 2022-08-11 22:32:41 -07:00
Stephan T. Lavavej bafb10ea0d
Various cleanups (#3019) 2022-08-11 22:30:59 -07:00
Stephan T. Lavavej 7558a2af16
Change `typedef` to `using` (#3018) 2022-08-11 22:28:42 -07:00
Jakub Mazurkiewicz 4a8d6ddb1e
P2446R2: `views::as_rvalue` (#3008)
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-11 22:21:49 -07:00
A. Jiang 4b22dd67ec
`<random>`: Improvements around `static constexpr` member variables (#3006) 2022-08-11 22:17:54 -07:00
Sam Huang 9475fa6e66
`yvals_core.h`: Consistent diagnostics and warnings (#2973)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-08-11 22:14:53 -07:00
Hamid Reza Arzaghi fce2d42a5f
detect forbidden aliasing (#1263)
Co-authored-by: Hamid Reza Arzaghi <arzaghi@outlook.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-11 22:11:31 -07:00
Stephan T. Lavavej 4c8d0ae7ec
Toolset update: VS 2022 17.4 Preview 1 (#3017) 2022-08-11 22:05:21 -07:00
Stephan T. Lavavej 5aae678023
Avoid `<atomic>` in `filesystem.cpp` (#3011) 2022-08-09 03:19:57 -07:00
S. B. Tam ced5cdef7c
Use `_Invoke_result_t<_Urng&>` instead of `_Urng::result_type` in `_Rng_from_urng` (#3002)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-09 03:15:29 -07:00
Casey Carter b1c4c50cd6
<format>: all nans are "nan" (#3001)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-09 03:07:51 -07:00
Stephan T. Lavavej 1aca79315d
`<functional>` should avoid including `<memory>` (#2998) 2022-08-09 03:01:49 -07:00
YairBorn 9aaab62ff1
`<xstring>`: Comment why `basic_string::_Is_elem_cptr` can't be a variable template (#2980)
Co-authored-by: Igor Zhukov <fsb4000@yandex.ru>
2022-08-09 01:23: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 2263d931f4
`<xhash>` should avoid including `<xstring>` (#2996) 2022-08-06 18:05:58 -07:00
Jakub Mazurkiewicz 7b5a482876
P1899R3: `views::stride` (#2981)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2022-08-06 18:02:00 -07:00
Stephan T. Lavavej b52e35bcc0
Add `__cpp_lib_concepts` guard for `__cpp_lib_move_iterator_concept` (#2994) 2022-08-05 16:49:36 -07:00
Casey Carter 1fe625d713
`chrono::abs` incorrectly uses `?:` with expressions that don't always have a common type (#2988) 2022-08-05 16:46:11 -07:00
A. Jiang 577269c56a
Implement P2445R1 `forward_like()` (#2974)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-05 16:40:30 -07:00
A. Jiang 097e59ba9a
`<variant>`: Make `visit<R>` correctly handle conversions to non-movable types (#2971)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-08-05 16:33:51 -07:00
A. Jiang 4677baef1c
Implement LWG-3617: `function`/`packaged_task` deduction guides and deducing `this` (#2966)
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-05 16:26:26 -07:00
A. Jiang 3e046a483e
Implement LWG-3564: `transform_view::iterator<true>::value_type` and `iterator_category` should use `const F&` (#2961) 2022-08-05 16:22:50 -07:00
S. B. Tam 9ed0e6bd89
`chunk_by_view`'s helper lambda returns `bool` (#2890)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-08-05 16:16:38 -07:00
Amy Wishnousky 1a418ba4e9
Temporarily disable ASAN string annotations (#2990)
Temporarily disable ASAN string annotations.
2022-08-03 20:47:26 -07:00
A. Jiang 09d5ac7d5e
`<xutility>`: Some fixes around `std::ranges::enable_view` (#2978)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-03 16:23:17 -07:00
Igor Zhukov b8371b04df
Implement P2417R2 More `constexpr` `bitset` (#2972)
Co-authored-by: Daniel Marshall <xandan@gmail.com>
Co-authored-by: A. Jiang <de34@live.cn>
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-03 16:17:26 -07:00
Casey Carter 9567121b15
Pass rvalues to `_Seek_to` in `ranges::uninitialized_(copy|move)_n` (#2964) 2022-08-03 16:11:34 -07:00
nicole mazzuca d9b453433e
Implement P2408R5: Ranges Iterators As Inputs To Non-Ranges Algorithms (#2960)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-03 16:05:59 -07:00
nicole mazzuca c231f7ff1f
Implement P2517R1: Conditional `noexcept` For `apply` (#2959)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-03 16:01:21 -07:00
nicole mazzuca 85f4639879
Implement P2520R0: `move_iterator<T*>` should be a random access iterator (#2958)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-03 15:54:29 -07:00
nicole mazzuca 12c5143f73
Implement LWG-3701: Make `formatter<remove_cvref_t<const charT[N]>, charT>` requirement explicit (#2957)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-08-03 15:47:44 -07:00
nicole mazzuca 222a5584fd
Prettify STL error output (#2897)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-03 15:43:37 -07:00
Casey Carter b7e0365b5e
Cleanup comments after merging LWG-3670 and LWG-3705 (#2950) 2022-07-27 20:59:28 -07:00
Sam Huang 6db1eb4489
Implement P2499R0: `string_view` Range Constructor Should Be `explicit` (#2947) 2022-07-27 20:55:36 -07:00
A. Jiang 06e7769550
Implement LWG-3715: `view_interface::empty` is overconstrained (#2946)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-27 20:53:00 -07:00
A. Jiang 374fc90b6c
Implement LWG-3712: `chunk_view` and `slide_view` should not be `default_initializable` (#2943)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-07-27 20:50:07 -07:00
Daniel Marshall f8a9c6f9b4
<algorithm> Implement P2302R4 ranges::contains (#2911)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
2022-07-27 20:46:15 -07:00
A. Jiang 99740916d6
Implement LWG-3672: `common_iterator::operator->()` should return by value (#2907)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-07-27 20:42:07 -07:00
A. Jiang 028f92c1ea
Implement LWG-3721: Allow an arg-id with a value of zero for width in std-format-spec (#2906)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-07-27 20:39:32 -07:00
A. Jiang d575533dcd
Implement LWG-3671: `atomic_fetch_xor` missing from `stdatomic.h` (#2905) 2022-07-27 20:36:58 -07:00
A. Jiang 9aff8c5a5a
Implement LWG-3724: `decay-copy` should be constrained (#2903) 2022-07-27 20:32:43 -07:00
A. Jiang 3da2dfd6a7
Implement LWG-3719: Directory iterators should be usable with default sentinel (#2902)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-27 20:30:05 -07:00
Igor Zhukov b491ec6c40
Map more Windows System errors (#2899) 2022-07-27 19:18:23 -07:00
Jakub Mazurkiewicz 9062b7ff3e
Implement LWG-3707: `chunk_view::outer-iterator::value_type::size` should return unsigned type (#2883) 2022-07-27 19:13:05 -07:00
A. Jiang da41fe1a74
Implement LWG-3656: Inconsistent bit operations returning a count (#2880)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-27 19:10:23 -07:00
A. Jiang f67fef19aa
Implement LWG-3683: `operator==` for `polymorphic_allocator` cannot deduce template argument in common cases (#2879) 2022-07-27 19:06:50 -07:00
Jinze Wu b4d14a6050
Implement LWG-3710: The `end` of `chunk_view` for input ranges can be `const` (#2878)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-27 19:02:18 -07:00
nicole mazzuca a0b84e0d6a
`<filesystem>` support junctions in `read_symlink` (#2877)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-27 18:57:18 -07:00
nicole mazzuca b4c409cc50
Fix LWG-3699 `lexically_relative` on UNC drive paths (`\\?\C:\...`) results in a default-constructed value (#2867)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-07-27 18:50:26 -07:00
Igor Zhukov dc29e30c8b
add STL4038 prefix to "requires C++NN or later" messages (#2061)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-27 18:40:10 -07:00
statementreply 04ee87830a
Fix incorrect result of `complex` `log`/`log10`/`pow` on ARM64 (#2870)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-20 17:31:30 -07:00
Stephan T. Lavavej d4f9f06938
Extract `_Bitmask_includes_any()`, `_Bitmask_includes_all()` from `_BITMASK_OPS` (#2865) 2022-07-20 17:25:23 -07:00
Casey Carter c9057075c6
Update workaround bug number (#2863) 2022-07-20 17:19:15 -07:00
Igor Zhukov 0f47cb72cf
Include <cmeow> instead of <meow.h>, Part 2 (#2852)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-20 17:15:26 -07:00
Charlie Barto 97b476c17f
<atomic> refactoring to support C11 (#2846) 2022-07-20 16:33:45 -07:00
Eugene d066aef441
Update filesystem library to use GetTempPath2 on Windows 11 (#2302)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-07-20 16:25:53 -07:00
Alex Guteniev 27b006e4d1
Move charconv tables (#2125)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-07-20 16:14:50 -07:00
Matt Stephanson ef62d3fa0b
`<complex>`: avoid unnecessary conversion of real arguments to complex (#2855)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-14 15:40:01 -07:00
Igor Zhukov 5d0006573d
remove `directory_entry::clear_cache` (#2854) 2022-07-14 15:33:40 -07:00
Alikhalesi 16207c85e5
<xloctime>: time_get::get can still assert 'istreambuf_iterator is not dereferenceable' when the format is longer than the stream (#2851) 2022-07-14 15:12:21 -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 969b2e250d
<cstdlib>: Provide std::getenv and std::system for UWP apps (#2850) 2022-07-11 17:18:02 -07:00
Stephan T. Lavavej 658a04ba1f
`winapisupp.cpp`: Dramatically shrink the function pointer table (#2841) 2022-07-11 17:08:58 -07:00
Alikhalesi a4dc8a7110
<yvals_core.h>: Update _MSVC_STL_UPDATE to July 2022 (#2840) 2022-07-11 17:05:32 -07:00
Stephan T. Lavavej 2e59c27487
`syserror.cpp`: Assert that `_Win_errtab` is sorted and unique (#2837)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-07-11 16:59:22 -07:00
Charlie Barto 51c24c4024
Fix chrono printing for durations with extremely small periods (#2814)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-11 16:45:21 -07:00
Anju del Moral Gonzalez 332154b803
Adding mutex, ranges, functional, any and format visualizers (#2191)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-07-11 16:27:04 -07:00
Gregg Miskelly 0620026441
.natvis: Add view for unique_ptr/vector of chars (#2843) 2022-07-07 18:33:15 -07:00
Stephan T. Lavavej c34f24920e
`<tuple>`: Overhaul `tuple_cat()` for simplicity and less special-casing (#2833)
Co-authored-by: ArtemSarmini <16746066+ArtemSarmini@users.noreply.github.com>
2022-06-30 19:31:30 -07:00
Stephan T. Lavavej 020aad2e08
Move machinery from `inc/ymath.h` to `src/xmath.hpp` (#2828) 2022-06-30 19:28:13 -07:00
Alex Guteniev e619743ae4
Extend range of min max optimization (#2825) 2022-06-30 19:23:44 -07:00
Igor Zhukov 0e29ddb576
workaround for std::source_location::current() (#2824) 2022-06-30 19:19:26 -07:00
nicole mazzuca 088818bf44
[benchmark] add gbenchmark (#2780)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-06-30 19:14:34 -07:00
Rose c176c155a5
Improve filesystem file resizing (#2771)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-06-30 19:02:35 -07:00
Rose ff97e90abb
Refactor Filesystem Code for Clarity (#2766)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2022-06-30 18:58:38 -07:00
Igor Zhukov 4e3fb31470
syserror.cpp: add more matches against std::errc::timed_out (#2744) 2022-06-30 18:54:28 -07:00
Igor Zhukov 600f25753c
`syserror.cpp`: update `_Syserror_map` (#2742) 2022-06-30 18:48:17 -07:00
Alex Guteniev 1f37fe7a66
Hasta la Vista (#2317)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-06-30 18:32:19 -07:00
Igor Zhukov 4583065cb9
`xloctime`: `do_put` shouldn't modify errno on success (#2049)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-06-30 18:26:07 -07:00
Igor Zhukov ad80eb79ba
add a visualizer for `_Ref_count_obj_alloc3` and `_Ref_count_obj2` (#2811)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-06-25 16:46:56 -07:00
Igor Zhukov 6c82314e1f
drop VC 2013 visualizers (#2804) 2022-06-25 16:09:06 -07:00
Igor Zhukov b23ecba48f
fix hash_* visualizer issue (#2784) 2022-06-25 16:04:00 -07:00