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

1165 Коммитов

Автор SHA1 Сообщение Дата
Casey Carter c1c1be47a2
Speculatively implement LWG-3867 (#3367)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-02 16:44:34 -08:00
Igor Zhukov 0150312f37
`<algorithm>`: `ranges::minmax` should dereference iterators only once (#3366)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: timsong-cpp <rs2740@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2023-02-02 16:39:36 -08:00
A. Jiang d0c8f140f0
Make some special member functions of `shared_mutex`, `shared_timed_mutex`, and `shared_lock` defaulted (#3352)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-02 16:34:51 -08:00
Tyler Nichols f8b8ad6dea
P2321R2: Added `std::views::zip_transform`. (#3322)
Co-authored-by: A. Jiang <de34@live.cn>
Co-authored-by: timsong-cpp <rs2740@gmail.com>
Co-authored-by: Jakub Mazurkiewicz <mazkuba3@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2023-01-27 19:10:41 -08:00
Daniel Marshall 1868694e98
Implement P2474R2 `views::repeat` (#3142)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-27 19:05:45 -08:00
maximd-g 5d4aea0c3f
Update _MSVC_STL_UPDATE to January 2023 (#3362) 2023-01-27 19:02:07 -08:00
A. Jiang 7ab764dc39
Implement LWG-3798 Rvalue reference and `iterator_category` (#3359)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-27 18:58:32 -08:00
Igor Zhukov 1a28409fbb
use `_Make_unsigned_like_t` instead of `make_unsigned_t` for `_Max_possible_v` (#3356)
Co-authored-by: A. Jiang <de34@live.cn>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-27 18:47:37 -08:00
Jakub Mazurkiewicz 1da3178851
P2404R3: Move-Only Types For Comparison Concepts (#3345)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-27 18:42:43 -08:00
A. Jiang 4f5d13aebb
Speculatively implement LWG-3857 (basic_string_view conversions) (#3348)
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-21 22:23:56 -08:00
A. Jiang c2b4352a3b
Fix the behavior of `vector<bool, HugeAlloc>` whose size overflows `uint32_t` (#3342)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-21 22:15:44 -08:00
Jakub Mazurkiewicz 10722961ab
P2165R4: Compatibility Between `tuple`, `pair`, And tuple-like Objects (changes to `pair` only) (#3323)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-21 22:10:25 -08:00
A. Jiang 31defd3719
Strengthen exception specifications for stream types (#3314)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-21 22:04:05 -08:00
A. Jiang c42483d733
Implement P0040R3 parallel specialized memory algorithms (#3145)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2023-01-21 21:45:56 -08:00
Stephan T. Lavavej 9a894a462c
Toolset update: VS 2022 17.5 Preview 3 (#3351) 2023-01-21 21:40:40 -08:00
Casey Carter 7d58e577d5
`<ranges>`: improve `views::istream` constraints (#3335) 2023-01-11 18:28:39 -08:00
Casey Carter 72229ffd5b
`<xstring>`: constexpr string element lifetime (#3334) 2023-01-11 18:19:27 -08:00
A. Jiang ed9a3a0468
Implement LWG-3778 `vector<bool>` missing exception specifications (#3332)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2023-01-11 18:12:04 -08:00
Igor Zhukov dc14f49244
Temporarily export _BITMASK_OPS for __std_fs_file_attr (#3331) 2023-01-11 18:03:05 -08:00
Casey Carter e984497cbb
`<ranges>`: Workaround LLVM-47414 (#3328)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-11 17:58:02 -08:00
Casey Carter 7045ec50d1
`<expected>`: Workaround LLVM-59854 (#3326) 2023-01-11 17:53:41 -08:00
A. Jiang 8b5a11fac9
`<mutex>`: Scope guards for lock algorithms and exception specification strengthening (#3321)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-11 17:37:27 -08:00
A. Jiang c20a26bbc9
Implement LWG-3737 `take_view::sentinel` should provide `operator-` (#3320)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-11 17:14:16 -08:00
A. Jiang a71aa5259e
Implement LWG-3785 `ranges::to` is over-constrained on the destination type being a range (#3319) 2023-01-11 17:09:43 -08:00
A. Jiang 9c3aeb2dfa
Implement LWG-3736 `move_iterator` missing `disable_sized_sentinel_for` specialization (#3318) 2023-01-11 17:05:56 -08:00
A. Jiang a981f1ef83
Fix handling of array rvalues for `ranges::cbegin` and its friends (#3316) 2023-01-11 16:57:07 -08:00
A. Jiang f5de9adde0
Make some special member functions of `promise` and `packaged_task` defaulted (#3315) 2023-01-11 16:50:10 -08:00
nicole mazzuca 7cbb0dadee
add transition comment to `ios_base::hexfloat` (#3300)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
2023-01-11 15:49:19 -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
Igor Zhukov 78fd095f49
Fix `C4365: '=': signed/unsigned mismatch` with `/J` (#3295)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2023-01-11 15:17:32 -08:00
Casey Carter 9720e8fee7
Casey's miscellaneous branch (#3293) 2023-01-11 15:09:49 -08:00
Mateusz Zych 1b7ab6ec8d
Fix for `std::numeric_limits<std::_Signed128>::is_signed` (#3291)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2023-01-11 14:55:12 -08:00
Casey Carter 8ddf4da239
Don't use `<intrin0.h>` with Clang (#3285)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-12-15 15:31:28 -08:00
A. Jiang 34b296fa76
Enhancements for `future` and `shared_future` (#3284)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-12-15 15:27:46 -08:00
Roger Orr 435250bffa
Add checks for invalid iterator when _ITERATOR_DEBUG_LEVEL is non-zero (#3282) 2022-12-15 15:12:08 -08:00
Rose c53fa69c6c
Use emplace_front in <experimental/filesystem> (#3279) 2022-12-15 15:07:26 -08:00
Igor Zhukov 70575d5870
Implement LWG-3594 `inout_ptr` - inconsistent `release()` in destructor (#3276) 2022-12-15 15:00:36 -08:00
A. Jiang d8ef03422c
Implement LWG-3629 `make_error_code` and `make_error_condition` are customization points (#3272)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-12-15 14:57:11 -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
Igor Zhukov a66a09255d
Implement LWG-3743 `ranges::to`'s `reserve` may be ill-formed (#3269)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-12-15 14:28:06 -08:00
Daniel Marshall f1e026f053
P1223R5: find_last, et al. (#3268)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-12-15 14:23:30 -08:00
nicole mazzuca c3217d278f
`<algorithm>`: `find`/`count` vectorize moar (#3267)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-12-15 14:17:20 -08:00
Jakub Mazurkiewicz 032120dbe3
P2278R4: `views::as_const` (#3234)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-12-15 14:06:08 -08:00
Daniel Marshall 8f5de32f9d
Update `source_location` to use `__builtin_FUNCSIG` (#3206)
Co-authored-by: Igor Zhukov <fsb4000@yandex.ru>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-12-15 13:52:51 -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
Stephan T. Lavavej 67d89ce691
Toolset update: VS 2022 17.5 Preview 2 (#3288) 2022-12-15 13:34:36 -08:00
A. Jiang 4483e87f6e
Implement LWG-3717 `common_view::end` should improve `random_access_range` case (#3266) 2022-12-06 15:54:22 -08:00
A. Jiang 7164d1c1bc
Implement LWG-3746 `optional`'s spaceship with `U` with a type derived from `optional` causes infinite constraint meta-recursion (#3265) 2022-12-06 15:51:32 -08:00
Amr Elsayyad 66c528a7a0
Update _MSVC_STL_UPDATE to December 2022 (#3264) 2022-12-06 15:48:34 -08:00
Igor Zhukov 6059e7576c
`<algorithm>`: `count()` could use vectorization in C++14/C++17 (#3262) 2022-12-06 15:41:52 -08:00
A. Jiang cf34f453f4
Implement LWG-3646 `std::ranges::view_interface::size` returns a signed type (#3261) 2022-12-06 15:35:46 -08:00
A. Jiang 298d586494
Implement P2167R3 Improving `boolean-testable` Usage (for comparison fallback CPOs) (#3258) 2022-12-06 15:31:11 -08:00
A. Jiang 3de573aaa2
Cleanup for `operator!=` and `operator==` with reversed order (#3256) 2022-12-06 15:27:12 -08:00
Casey Carter 2b3a09fc30
Convert arguments to double in `_GENERIC_MATH2_BASE` (#3253) 2022-12-06 15:22:42 -08:00
A. Jiang 54ac72594d
`<__msvc_int128.hpp>`: Move UDLs to test code (#3252)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-12-06 15:17:28 -08:00
A. Jiang 8086a2b596
`<xlocale>`: Avoid allocation when comparing two `locale` values (#3250) 2022-12-06 14:51:12 -08:00
A. Jiang 0a1c6c430f
Implement LWG-3545 `std::pointer_traits` should be SFINAE-friendly (#3242) 2022-12-06 14:38:34 -08:00
Casey Carter 214e0143d1
P2602R2 Poison Pills Are Too Toxic (#3215) 2022-12-06 14:30:34 -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
nicole mazzuca e5b008ce65
fix and rename `_Within_limits`, add tests (#3247)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-12-06 13:56:51 -08:00
Stephan T. Lavavej ac11067066
Enable `/clr` C++20 `<coroutine>` support (#3201) 2022-12-05 14:12:41 -08:00
Casey Carter e28f956123
Update comments for approved LWG issues (#3238) 2022-11-18 16:43:10 -08:00
Jakub Mazurkiewicz 10e1366788
LWG-3515: [stacktrace.basic.nonmem]: `operator<<` should be less templatized (#3236) 2022-11-18 16:40:00 -08:00
Casey Carter 299abb0379
Don't rely on SSO zeroing in `basic_string::_Construct` (#3235) 2022-11-18 16:11:46 -08:00
Stephan T. Lavavej 47c90aea12
Standard Library Modules: Fix spurious `_Init_locks` dllexport (#3233) 2022-11-18 15:57:39 -08:00
Stephan T. Lavavej 8ffd4a4226
Standard Library Modules: Fix `time_put<wchar_t>` linker errors (#3232) 2022-11-18 15:48:14 -08:00
A. Jiang 2127d8b47b
Implement LWG-3823 Unnecessary precondition for `is_aggregate` (workaround) (#3231)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-11-18 15:42:53 -08:00
Igor Zhukov 29ac08663e
Change an error message in `<__msvc_cxx_stdatomic.hpp>` (#3192)
Co-authored-by: A. Jiang <de34@live.cn>
2022-11-11 15:06:32 -08:00
SHOURYA SHIKHAR 53cdc19120
<yvals_core.h>: Update _MSVC_STL_UPDATE to November 2022 (#3191) 2022-11-11 15:02:49 -08:00
Jakub Mazurkiewicz 0b13eb07d2
P2278R4: `cbegin` should always return a constant iterator ("Ranges" and "Span" sections) (#3187)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-11-11 14:57:19 -08:00
Alessio c550bd00e5
Implement P2467R1 `ios_base::noreplace`: Exclusive Mode For `fstream`s (#3065)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-11-11 14:46:59 -08:00
Stephan T. Lavavej f58deab4e9
Toolset update: VS 2022 17.5 Preview 1, Python 3.11.0 (#3202) 2022-11-11 14:39:50 -08:00
Stephan T. Lavavej ea092540b4
Enable `/clr` C++20 support (#3194) 2022-11-07 18:45:18 -08:00
Charlie Barto c873cf0132
rename `<stdatomic.h>` to `<__msvc_cxx_stdatomic.h>` (#3183)
* rename stl stdatomic.h to __msvc_cxx_stdatomic.h

* rename inclusions of cxx stdatomic.

* rename __msvc_cxx_stdatomic.h to __msvc_cxx_stdatomic.hpp

* correct include guards and header comments.

* Apply suggestions from code review

* remove stdatomic.h from stl's CMakeLists.txt so it's no copied during github build.

* remove stdatomic.h from header-units.json

Co-authored-by: Casey Carter <cacarter@microsoft.com>
2022-10-27 12:07:20 -07:00
Cameron DaCamara 48eb4a438c
add support for [[msvc::intrinsic]] (#3182)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-10-26 19:28:52 -07:00
Casey Carter e97bb2b50a
Miscellaneous Cleanups (#3178)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-10-26 06:16:59 -07:00
Stephan T. Lavavej 296e84079f
Various cleanups (#3177)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-10-26 06:14:12 -07:00
Stephan T. Lavavej 82837b7a98
Fix `error_category` regression with Boost.System (#3176) 2022-10-26 06:12:02 -07:00
Casey Carter 705265e007
Properly constrain `_Movable_box`'s copy constructors (#3171)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Jakub Mazurkiewicz <mazkuba3@gmail.com>
2022-10-26 06:02:55 -07:00
Stephan T. Lavavej fb386c0108
Silence `[[fallthrough]]` warnings (#3162) 2022-10-24 15:50:52 -07:00
Stephan T. Lavavej c31ca543af
Move `_Rng_from_urng` and `_Rng_from_urng_v2` out of `<xutility>` (#3157) 2022-10-24 15:38:42 -07:00
A. Jiang 032aae135b
`<__msvc_int128.hpp>`: Remove unnecessary `common_type` partial specializations (#3153) 2022-10-24 15:35:26 -07:00
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
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
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 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
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