Alex Guteniev
9fe98e09c8
Untag dispatch string constructor ( #2480 )
2022-03-02 12:10:43 -08:00
Alex Guteniev
42caa916a0
Untag dispatch _Directory_iterator ( #2478 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-03-02 12:04:29 -08:00
Casey Carter
a208701a5a
Add STL cgmanifest entry for Boost ( #2598 )
...
With SHA for the boost-1.66.0 tag, which is the version from which we made the nuget that we use to build the STL's special math function satellite.
This is a dual of MSVC-PR-382487.
2022-03-01 12:38:58 -08:00
Charlie Barto
ff5445078a
Add scripts to set the environment up to use just-built artifacts ( #2578 )
2022-02-22 17:21:03 -08:00
Stephan T. Lavavej
89d50c5996
`<charconv>`: Fix `from_chars()` `float` tiebreaking ( #2366 )
2022-02-22 16:12:38 -08:00
Igor Zhukov
7b2c54be01
Speculatively implement LWG-3636: `formatter<T>::format` should be const-qualified ( #2573 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-02-17 18:21:39 -08:00
Charlie Barto
113cb97b76
`<format>`: fix single byte out of bounds access ( #2569 )
2022-02-17 18:15:36 -08:00
Igor Zhukov
b92f2c8e69
implement LWG-3471: `polymorphic_allocator::allocate` does not satisfy Cpp17Allocator requirements ( #2567 )
...
Co-authored-by: A. Jiang <de34@live.cn>
Co-authored-by: timsong-cpp <rs2740@gmail.com>
2022-02-17 18:12:33 -08:00
Igor Zhukov
05ac0a5dfb
Implement LWG-3618 Unnecessary `iter_move` for `transform_view::iterator` ( #2566 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-02-17 18:09:30 -08:00
A. Jiang
7671576afb
Implement LWG-3657 `std::hash<std::filesystem::path>` is not enabled ( #2564 )
2022-02-17 18:06:49 -08:00
Stephan T. Lavavej
cfbdf129b6
Internal test coverage for deduplicated header units ( #2563 )
2022-02-17 18:04:38 -08:00
Igor Zhukov
202e42a96a
Implement LWG-3598 `system_category().default_error_condition(0)` ( #2560 )
2022-02-17 18:00:50 -08:00
Casey Carter
4ca712bc41
Update LLVM from upstream, fix bugs ( #2499 )
2022-02-17 01:16:50 -08:00
Casey Carter
afe0800cd6
Update `__cpp_lib_concepts` ( #2559 )
2022-02-11 19:04:04 -08:00
Casey Carter
6a478bf348
Implement LWG-3660 for `iterator_traits<common_iterator>::pointer` ( #2549 )
2022-02-11 18:59:02 -08:00
Casey Carter
fbc92af8eb
"Implement" LWG-3632 by commenting `unique_ptr` CTAD ( #2548 )
2022-02-11 18:52:32 -08:00
Igor Zhukov
5b5634f828
LWG-3661: `constinit` `atomic<shared_ptr<T>>` a(nullptr); should work ( #2544 )
...
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@gmail.com>
2022-02-11 18:49:27 -08:00
S. B. Tam
e472b13ed2
LWG-3621 Remove feature-test macro `__cpp_lib_monadic_optional` ( #2543 )
2022-02-11 18:46:59 -08:00
A. Jiang
3f5b8ff0cd
LWG-3610: `iota_view::size` sometimes rejects integer-class types ( #2542 )
...
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-02-11 18:44:07 -08:00
Casey Carter
624b2ae40c
P2393R1 Cleaning Up Integer-Class Types ( #2541 )
2022-02-11 18:30:27 -08:00
Igor Zhukov
06d094a655
LWG-3654: `basic_format_context::arg(size_t)` should be noexcept ( #2528 )
2022-02-11 18:26:30 -08:00
Alex Guteniev
b6b9778858
P0627R6: Function to mark unreachable code ( #2526 )
...
Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-02-11 18:22:10 -08:00
Igor Zhukov
8096a27550
resize_and_overwrite: fix warning C4018 ( #2525 )
...
Co-authored-by: PowerGamer1 <PowerGamer1@users.noreply.github.com>
2022-02-11 18:07:05 -08:00
Stephan T. Lavavej
bb0cdf6c22
Fix and test deduplicated header units ( #2516 )
2022-02-11 17:55:27 -08:00
Stephan T. Lavavej
067e8ea081
Toolset update: VS 2022 17.1 Preview 5, CMake 3.22, sparse index ( #2514 )
2022-02-11 17:49:26 -08:00
Casey Carter
bbd5dbaa61
Speculatively implement LWG-3664 ( #2522 )
...
to fix a regression when calling `ranges::distance` with array arguments which _should_ decay to pointers. While we're here, let's merge `distance(i, s)` overloads and use `if constexpr` dispatch instead of concept overloading.
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-02-07 11:54:49 -08:00
Ritik Rawal
ee6a79e4ca
Update _MSVC_STL_UPDATE for 2022-02 ( #2519 )
2022-02-07 11:49:58 -08:00
Casey Carter
53d4f93525
Move `<ranges>` and `<format>` into C++20 ( #2518 )
...
* In `<yvals_core.h>`, don't require `_HAS_CXX23` to define `__cpp_lib_format` and `__cpp_lib_ranges`. Change the feature-test macro test consistently.
* Change test matrices for all tests that touch `<ranges>` and `<format>` to run in 20 mode instead of latest-only.
* Don't use the `span` constructor added by P1989 to C++23 in `P0896R4_views_split`, which now must run in c++20 mode where that constructor is unavailable.
Fixes #1814 .
* Implement `__msvc_int128.hpp` to complete WG21-P1522 and provide integer-class types `_Signed128` and `_Unsigned128` to be the distance / size types of `iota_view<64-bit integral>`.
2022-02-07 11:36:22 -08:00
S. B. Tam
823dbe3b44
Rearrange feature test macros ( #2510 )
...
And don't bother to check `_DOWNLEVEL_COROUTINES_SUPPORTED` which equivalent to `__cpp_impl_coroutine`.
Fixes #2135 .
2022-02-07 11:30:40 -08:00
Matt Stephanson
a3b2a891af
constexpr all the generate_canonical parameters ( #2498 )
...
...up to 64 bits of entropy. Leave the original implementation for
more bits and naughty generators (I'm looking at you, tr1) whose
`min` and `max` functions aren't static.
Fixes #1964 .
2022-02-07 11:23:45 -08:00
DadTech
b11945b73f
Changed `_Unfancy_maybe_null()` to `_Unfancy()` ( #2508 )
...
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-01-31 18:44:40 -08:00
Casey Carter
c6df0b00b9
Add `P0295R0_gcd_lcm` test ( #2507 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-31 18:35:56 -08:00
Charlie Barto
e4303b5087
`<format>`: Use `_MSVC_EXECUTION_CHARACTER_SET` ( #2493 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-31 18:15:52 -08:00
Stephan T. Lavavej
fcd5cf555f
Toolset update: VS 2022 17.1 Preview 4, ARM64EC ( #2496 )
2022-01-25 22:33:39 -08:00
Sam Huang
f575e7becd
`<ratio>`: Use `constexpr` functions instead of TMPs ( #2450 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-25 22:28:42 -08:00
Charlie Barto
f0c0eaaca0
`<format>`: Implement P2418R2 support for `std::generator`-like types ( #2323 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-25 22:25:18 -08:00
Casey Carter
59a87ccc94
LWG-3392 `ranges::distance()` cannot be used on a move-only iterator with a sized sentinel ( #2421 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-21 16:52:08 -08:00
Casey Carter
d896ef8f54
LWG-3543: Update counted_iterator's "same sequence" definition ( #2424 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-21 16:47:15 -08:00
Casey Carter
94bb6d2279
LWG-3589: subrange `get<0>` requires a copyable iterator ( #2425 )
2022-01-21 16:18:49 -08:00
Alex Guteniev
51ad3980f5
Alternative way to optimize `_Countr_zero` ( #2343 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-21 16:11:36 -08:00
Stephan T. Lavavej
1035141929
Add diagnostics for sporadic failures in a `<format>` test ( #2494 )
2022-01-21 16:09:39 -08:00
Stephan T. Lavavej
33007ac754
Toolset update: VS 2022 17.1 Preview 2, Clang 13 ( #2474 )
2022-01-19 17:22:46 -08:00
Jino Park
086b072f8e
Remove some `strengthened` comments for LWG-3593 ( #2448 )
2022-01-19 16:50:18 -08:00
Stefan
20fea3fbe0
Fix begin/end for valarray crashing on empty instance ( #2435 )
...
Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-01-19 16:42:21 -08:00
Alex Guteniev
de24597790
`move_only_function`: more concise Python script ( #2429 )
2022-01-19 16:27:22 -08:00
Casey Carter
4dab194222
Render keys_view and values_view useless per LWG-3563 ( #2426 )
2022-01-19 16:17:51 -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
Alex Guteniev
c6169272b2
Activate `reverse_copy` optimization under C++20/C++23 mode ( #2416 )
2022-01-19 15:55:34 -08:00
Igor Zhukov
1881560e04
`<memory>`: Add `nullptr` check in `std::allocator` ( #2412 )
2022-01-19 15:46:51 -08:00
Curtis J Bezault
86e22c3cf3
`<vector>`: Fix ASan annotations when `clear`ing ( #2464 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-01-13 17:35:04 -08:00