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

2243 Коммитов

Автор SHA1 Сообщение Дата
A. Jiang 6bad24d4c9
`<expected>`: Workaround for DevCom-10655311 "Class derived from `std::expected` can't be constructed with `bool` value type" (#4664) 2024-05-20 17:03:55 -07:00
Alex Guteniev a35859ce17
Use `BENCHMARK` macro for template benchmarks (#4662) 2024-05-20 17:01:17 -07:00
Alex Guteniev 910275c355
`vector_algorithms.cpp`: `minmax` for 64-bit elements: replace ugly x86 workaround with a nice one (#4661)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-05-20 16:53:17 -07:00
A. Jiang 3058972113
Workaround for the interaction of constraints in `expected` and explicit template instantiation in permissive modes (#4658)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-05-20 16:29:08 -07:00
Alex Guteniev fcd6915aa1
Reduce `mismatch` test run time (#4656)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-05-20 16:19:01 -07:00
chinworker bccfee980a
Update _MSVC_STL_UPDATE to May 2024 (#4655) 2024-05-20 16:09:40 -07:00
Casey Carter 0cb718bb1b
Avoid triggering ASan bug in `Dev09_056375_locale_cleanup` (#4652) 2024-05-20 16:05:49 -07:00
Alex Guteniev ccf9e1f020
Help the compiler vectorize `ranges::iota` (#4647)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-05-20 16:02:05 -07:00
A. Jiang 14a90ebffe
`<format>`: Fix handling of replacement field when format-spec is absent (#4640)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-05-20 15:55:50 -07:00
A. Jiang 23344e2643
Use `requires`-clauses and concepts for miscellaneous C++20/23 components (#4637) 2024-05-20 15:50:10 -07:00
Alex Guteniev 697653d506
Refactor `<limits>` usage (#4634)
Co-authored-by: A. Jiang <de34@live.cn>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-05-20 15:42:40 -07:00
S. B. Tam b872c42096
Measure display width in tuple formatter (#4631) 2024-05-20 15:32:50 -07:00
Stephan T. Lavavej 8dc4faadaf
Restore `<exception>`'s inclusion of `<malloc.h>` (#4641) 2024-04-29 15:38:15 -07:00
Alex Guteniev 61acd0f294
`README.md`: mention `--filter` for testing (#4629)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 17:17:32 -07:00
A. Jiang 825a0e09d3
`<ranges>`: Replace one improper use of `_Iter_value_t` with `iter_value_t` in `_Stable_sort_fn` (#4628) 2024-04-26 17:14:39 -07:00
Alex Guteniev 290a95bc6b
Help the compiler vectorize `std::iota` (#4627)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 17:10:18 -07:00
Stephan T. Lavavej 70387285e0
Fix `import std;` interaction with `<intrin.h>` emitting bogus error C2733 (#4626) 2024-04-26 16:55:45 -07:00
Stephan T. Lavavej 0c245adce1
Use `_STL_INTERNAL_STATIC_ASSERT(false)` when appropriate (#4624) 2024-04-26 16:49:00 -07:00
Alex Guteniev fce83bfd22
`find_first_of` vectorized: generalize fast approach for 4 and 8 bytes elements (#4623)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 16:46:14 -07:00
Martin Hořeňovský 6b544648ce
`<random>`: Skip reset in `normal_distribution::operator()` with custom params (#4618)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 16:35:06 -07:00
A. Jiang bf1e9bdb30
`<ranges>`: Consistently check preconditions for `iota_view` and `_Counted_fn` (#4616) 2024-04-26 16:29:29 -07:00
A. Jiang 4ab1364084
Move `_Floating_type_traits`-related functions (#4615)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 16:22:10 -07:00
Alex Guteniev 362228fcf0
Improve `count` vectorization: replace `popcnt` implementation with vector counting (#4614)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 16:17:11 -07:00
A. Jiang fe7f82e4ec
`<xstring>`: Make `char_traits::assign` not start lifetime of elements (#4613) 2024-04-26 16:09:51 -07:00
Stephan T. Lavavej 9c04cbe691
`<cmath>`: Use Clang builtins for classification/comparison functions (#4612) 2024-04-26 16:01:13 -07:00
Hristo Hristov 34917ee21d
P3142R0: Printing Blank Lines with `println` (#4611)
Co-authored-by: Hristo Hristov <zingam@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 15:55:17 -07:00
Alex Guteniev d74be47388
Replace `enable_if_t` in `_Debug_lt_pred` with `if constexpr` and variable template (#4610)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-26 15:48:51 -07:00
S. B. Tam cbaea378c5
`<ranges>`: Refactor `ranges::to` (#4608) 2024-04-26 15:43:45 -07:00
Stephan T. Lavavej e2aed575a6
Remove `lower_bound()`/`upper_bound()` from `hash_meow`/`unordered_meow` (#4607) 2024-04-26 15:34:36 -07:00
Stephan T. Lavavej 7517ee0dcd
Remove `_FPOSOFF` and non-Standard `std::fpos::seekpos()` (#4606) 2024-04-26 15:29:09 -07:00
Stephan T. Lavavej a8d4928645
Emit 'MS extension' deprecation warnings in all Standard modes (#4605) 2024-04-26 15:08:30 -07:00
Igor Zhukov 0515a05b39
Update boost-math to 1.85 (#4599) 2024-04-18 19:08:09 -07:00
Casey Carter 726ebe7e0e
Avoid `__vectorcall` on ARM64EC (#4600) 2024-04-18 19:04:10 -07:00
Epsit 7189e4c773
Update README.md (#4598)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2024-04-18 19:02:29 -07:00
Alex Guteniev 23156f142e
`swap_ranges` benchmark (#4589)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-18 18:58:48 -07:00
Alex Guteniev 1b06c5276b
Vectorize `find_first_of` for 4 and 8 byte elements (#4587)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-18 18:53:25 -07:00
A. Jiang f54203ff7c
Check `is_clock_v` for thread utilities before C++20 (#4585) 2024-04-18 18:46:44 -07:00
Alex Guteniev 68338e007b
missed `vzeroupper` in `mismatch` and `replace` (#4584) 2024-04-18 18:32:15 -07:00
Stephan T. Lavavej 1955118800
Change `_Always_false` to `false` for functions (#4591)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
2024-04-18 18:15:08 -07:00
A. Jiang a58d716887
Remove the `STATIC_ASSERT` macro from tests where it is unnecessary (#4588) 2024-04-18 17:13:15 -07:00
Stephan T. Lavavej a35fb2a84c
Toolset update: VS 2022 17.10 Preview 4, non-spot VMs, Azure Pipelines overhaul (#4594) 2024-04-18 17:10:29 -07:00
A. Jiang 9aca22477d
`<tuple>`, `<variant>`: Make error messages from get-by-type functions clearer (#4578)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-12 11:42:49 -07:00
mq白 213df0c390
Optimized string concatenation in `_Tzdb_update_version()` (#4577)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2024-04-12 11:36:47 -07:00
Alex Guteniev 3697ebb519
`<yvals_core.h>`: avoid using the 'container' word for something that has `empty()` member in `[[nodiscard]]` messages (#4572) 2024-04-12 11:32:01 -07:00
Alex Guteniev 886ef10aaf
`vector_algorithms.cpp`: `find`, `find_last`, `count`: make AVX2 path avoid SSE path and (for some types) fallback (#4570)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-12 11:24:33 -07:00
Alex Guteniev 9839187345
Vectorize `lexicographical_compare`! (#4552)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-12 11:20:40 -07:00
Casey Carter c86e1e575a
Skip Component Governance autodetection (#4568) 2024-04-12 11:18:47 -07:00
Stephan T. Lavavej c0fe1fae72
Toolset update: VS 2022 17.10 Preview 3 (#4576) 2024-04-12 11:09:33 -07:00
Alex Guteniev 56ad8253a8
Optimize `find_first_of` for one element needle (#4563)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-09 15:45:18 -07:00
Alex Guteniev d0995ffb4a
Check if `find_last` can find anything (#4561)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-04-09 15:38:03 -07:00