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

1165 Коммитов

Автор SHA1 Сообщение Дата
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 6541cec86f
Implement LWG-2195 Missing constructors for `match_results` (#3506) 2023-03-03 15:23:23 -08:00
A. Jiang 882d92ec47
Implement LWG-3877 Incorrect constraints on `const`-qualified monadic overloads for `std::expected` (#3504)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-03-03 15:20:14 -08:00
A. Jiang 7155ea6f88
Implement LWG-3734 Inconsistency in `inout_ptr` and `out_ptr` for empty case (#3503)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2023-03-03 15:17:26 -08:00
Alex Guteniev 8be719cb79
`<atomic>`: improve code documentation (#3406) 2023-03-03 15:14:43 -08:00
Jakub Mazurkiewicz 16bb556afe
P2164R9: `views::enumerate` (#3472)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2023-02-26 01:13:09 -08:00
Stephan T. Lavavej 9a0f5b6dd5
Remove workarounds for /clr C++20 (#3499) 2023-02-26 00:14:00 -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
Stephan T. Lavavej c90b84a096
Avoid new warning C5267 for deprecated implicit copy ctor/assign (#3497) 2023-02-26 00:04:36 -08:00
A. Jiang 7f25cb356f
Implement LWG-3733 ranges::to misuses cpp17-input-iterator (#3496) 2023-02-26 00:02:17 -08:00
Igor Zhukov 4ba94ca783
Implement LWG-3655: The `INVOKE` operation and `union` types (#3495)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-25 23:59:25 -08:00
Igor Zhukov 98ba856bc7
Implement LWG-3204 `sub_match::swap` only swaps the base class (#3494) 2023-02-25 23:56:54 -08:00
Jakub Mazurkiewicz 53e2da22a0
`<ranges>`: Fix misused list-initializations (#3493)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-25 23:53:21 -08:00
Jakub Mazurkiewicz 165e96f248
P2165R4: Compatibility Between `tuple`, `pair`, And tuple-like Objects (#3372)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2023-02-25 23:49:35 -08:00
nicole mazzuca 86acfb1ac2
fix codeql warnings (#3489)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2023-02-22 18:12:58 -08:00
A. Jiang 5b206670a6
Implement LWG-3869 Deprecate `std::errc` constants related to UNIX STREAMS (#3487)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-22 18:08:07 -08:00
Jakub Mazurkiewicz 2aa2ff9619
P2609R3: Relaxing Ranges Just A Smidge (#3486)
Co-authored-by: Casey Carter <Casey@Carter.net>
2023-02-22 18:01:55 -08:00
Jakub Mazurkiewicz 10aab6d931
LWG-3875: `ranges::repeat_view<T, IntegerClass>::iterator` may be ill-formed (#3485) 2023-02-22 17:58:02 -08:00
Casey Carter b9b15d8c5c
Workaround some Clang-16-rc2 regressions (#3483) 2023-02-22 17:55:21 -08:00
Igor Zhukov 7aaa1517f9
Implement LWG-3860 `range_common_reference_t` is missing (#3480)
Co-authored-by: Jakub Mazurkiewicz <mazkuba3@gmail.com>
2023-02-22 17:51:42 -08:00
mlemacio 1bddf4ced3
LWG-3847 `ranges::to` can still return views (#3479)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-22 17:47:27 -08:00
mlemacio be1ac634cc
LWG-3833 Remove specialization `template<size_t N> struct formatter<const charT[N], charT>` (#3477) 2023-02-22 17:44:27 -08:00
Igor Zhukov 9fb81686ff
Implement LWG-3865 Sorting a range of `pair`s (#3476)
Co-authored-by: Casey Carter <Casey@Carter.net>
2023-02-22 17:40:50 -08:00
Jakub Mazurkiewicz f91eba5b9a
LWG-3862: `basic_const_iterator`'s `common_type` specialization is underconstrained (#3471) 2023-02-22 17:37:17 -08:00
Jakub Mazurkiewicz df915b6cb7
LWG-3872: `basic_const_iterator` should have custom `iter_move` (#3470) 2023-02-22 17:34:28 -08:00
A. Jiang a5606c3978
Implement LWG-2309 `mutex::lock()` should not throw `device_or_resource_busy` (#3469)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-22 17:29:46 -08:00
Igor Zhukov bd07818f6b
`ios_base` constants should have bitmask types (#3405)
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-22 17:23:28 -08:00
Stephan T. Lavavej f51e945cfc
Toolset update: VS 2022 17.6 Preview 1 (#3490) 2023-02-22 17:14:59 -08:00
Jakub Mazurkiewicz 79e8041231
LWG-3853: `basic_const_iterator<volatile int*>::operator->` is ill-formed (#3468) 2023-02-15 19:53:57 -08:00
Casey Carter 789e9ea2f6
LWG-3772 repeat_view's piecewise constructor is missing Postconditions (#3462) 2023-02-13 18:38:16 -08:00
Casey Carter 3b79276ac2
Uncomment resolutions of applied LWG issues (#3461) 2023-02-13 18:35:55 -08:00
Casey Carter be588ec495
LWG-3769 `basic_const_iterator::operator==` causes infinite constraint recursion (#3459) 2023-02-13 18:33:23 -08:00
Alex Guteniev 6b2fef2cbd
`<barrier>`: Declare victory! (#3455)
Co-authored-by: Jakub Mazurkiewicz <mazkuba3@gmail.com>
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-13 18:29:36 -08:00
A. Jiang 1763113bd8
Eliminate spaces in `operator"" name()` (#3453)
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
2023-02-13 17:04:55 -08:00
Igor Zhukov bc3ad69f7d
Implement P2711R1 Making Multi-Param Constructors Of Views `explicit` (#3451)
Co-authored-by: A. Jiang <de34@live.cn>
2023-02-13 17:00:14 -08:00
Jakub Mazurkiewicz f8dd9d16da
LWG-3850: `views::as_const` on `empty_view<T>` should return `empty_view<const T>` (#3423)
Co-authored-by: Casey Carter <Casey@Carter.net>
2023-02-13 16:54:45 -08:00
Jakub Mazurkiewicz bf64ffcf83
LWG-3810: CTAD for `basic_format_args` (#3421)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2023-02-13 16:50:39 -08:00
Jakub Mazurkiewicz aee02b5311
LWG-3848: `slide_view` missing `base` accessor (#3410)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-13 16:46:50 -08:00
A. Jiang 5b2968646a
`<format>`: Make instantiation used by `vformat_to` lazier (#3403)
Co-authored-by: Casey Carter <Casey@Carter.net>
2023-02-13 16:40:04 -08:00
A. Jiang ade0d6630e
Strengthen exception specifications for [thread] types (#3388) 2023-02-13 16:23:21 -08:00
MikiPaul 29638bab05
Updated _MSVC_STL_UPDATE to February 2023 (#3395) 2023-02-10 16:15:11 -08:00
Casey Carter 3218823a9f
Use `if constexpr` dispatch for `_Pass_fn` (#3389) 2023-02-10 16:05:36 -08:00
Alex Guteniev c0ac135c5b
Infinite range find algorithm: update transition comment for memchr optimization for ARM64 (#3386)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2023-02-10 15:57:29 -08:00
Casey Carter d1db89ab46
Refactor ranges::minmax and ranges::minmax_element (#3384) 2023-02-10 15:29:25 -08:00
A. Jiang cce41b2c7c
<xiosbase>: Remove out-of-class definitions of static constexpr data members (#3381) 2023-02-10 15:23:48 -08:00
Jakub Mazurkiewicz 7dde18bb89
<system_error>: Use uglified [[clang::require_constant_initialization]] attribute (#3380) 2023-02-10 15:16:07 -08:00
Sy Brand 8f912858db
Implement P2505R5 Monadic Functions For std::expected (#3361)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-10 15:10:35 -08:00
Stephan T. Lavavej 1abaa14ee5
`<atomic>`: Improve ARM64 performance (#3399) 2023-02-10 14:54:57 -08:00
Rose 73924c1920
Use Brace Lists to initialize objects. (#3277)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-02 16:58:02 -08:00
Stephan T. Lavavej 9c988d83d6
Minor modules modifications (#3373) 2023-02-02 16:48:14 -08:00
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