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

488 Коммитов

Автор SHA1 Сообщение Дата
Curtis J Bezault 2f9f567ffe
`<vector>`: Add ASan annotations. (#2071)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@googlemail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-12-10 20:03:29 -08:00
Omar 524cab2959
LWG-2762 `unique_ptr` `operator*()` should be `noexcept` (#2376)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-12-08 19:44:47 -08:00
mordante 9cfcf56d97
Change `#pragma once` to include guards (#2372) 2021-12-08 19:34:02 -08:00
Alex Guteniev db9cc55329
Rotate bits using intrinsics (#2369) 2021-12-08 19:24:51 -08:00
S. B. Tam 71e9a4ec54
Workaround clang-format misbehavior in `P0898R3_concepts` test (#2356) 2021-12-08 19:18:21 -08:00
AnabelSMRuggiero 530db31040
Applied LLVM-47414 workaround to `std::ranges::join_view` (#2352)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-12-08 19:09:07 -08:00
S. B. Tam e347374b4b
Remove outdated `#if` guard (#2351)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-12-08 19:04:00 -08:00
Alex Guteniev beebe5b568
Don't hide format string from the compiler (#2346) 2021-12-08 17:52:51 -08:00
Igor Zhukov 306b4e4307
Implement LWG-3480, `directory_iterator` and `recursive_directory_iterator` are ranges (#2340) 2021-12-08 17:45:40 -08:00
Casey Carter e76e8f6e04
Internally disable `subrange` workaround (#2338) 2021-12-08 17:40:56 -08:00
Casey Carter f852cb042f
Clearing the way for LLVM 13 (#2266) 2021-12-08 17:30:35 -08:00
Casey Carter 793713e033
Specially handle `array<T, 0>` for non-default-constructible `T` (#2296) 2021-11-13 00:30:28 -08:00
Casey Carter e89128e738
Workaround DevCom-1559808 in `ranges::sort` (#2290)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-11-13 00:21:40 -08:00
Casey Carter d6abb2336b
Fix `ranges::find_end` return for bidi-common case (#2270) 2021-11-12 22:38:54 -08:00
statementreply f1ce816db3
Fix chronat tests to deal with locale-dependent time zones abbreviations (#2231)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-11-12 22:31:38 -08:00
Alex Guteniev 3ba0477f3f
Remove attempt to use tzcnt as bsf (#2333) 2021-11-12 22:02:08 -08:00
Igor Zhukov 4a2424c972
`<format>`: delay vformat instantiation (#2331)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-11-12 21:47:11 -08:00
Casey Carter 84516941d7
P2415 What Is A `view`? (#2275)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-11-12 20:25:32 -08:00
Charlie Barto 785143a0c7
P2372R3: Fix handling of locale in chrono formatters (#2273)
Co-authored-by: Victor Zverovich <victor.zverovich@gmail.com>
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-11-12 19:53:56 -08:00
Ukilele dfa5326448
P2251R1 Update yvals_core.h and the comments in the tests (#2259)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-11-12 19:38:42 -08:00
Adam Bucior 2de0fa5712
Implement P1072R10 `basic_string::resize_and_overwrite` (#2258) 2021-11-12 19:33:38 -08:00
Adam Bucior 254fca2427
Optimize `is_permutation` for reversed sequences (#2043)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Miya Natsuhara <46756417+mnatsuhara@users.noreply.github.com>
2021-11-12 19:21:36 -08:00
Stephan T. Lavavej 08f12aecf6
Toolset update: VS 2022 17.1 Preview 1 (#2327) 2021-11-12 19:07:16 -08:00
S. B. Tam b2aa34dd89
`<ranges>`: Fix `views::reverse` for `ranges::reverse_view` lvalues (#2313)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2021-11-02 20:53:30 -07:00
Alex Guteniev 3279b7c6c5
`weak_ptr` conversions can sometimes avoid locking (#2282)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-11-02 20:34:25 -07:00
S. B. Tam 75d373a8bc
LWG-3554 Add `const charT*` overloads for `chrono::parse` (#2261)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2021-11-02 20:24:37 -07:00
Igor Zhukov ea54ea3319
`<fstream>`: `fstream::close` shouldn't corrupt heap (after `putback`) (#2189)
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2021-11-02 20:19:13 -07:00
Ukilele fb65d578a8
P2401R0 Conditional noexcept For exchange() (#2263) 2021-10-19 19:12:01 -07:00
Igor Zhukov 486a8a1091
Implement P1147R1 "Printing volatile Pointers" (#2262)
Co-authored-by: Casey Carter <Casey@Carter.net>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-10-19 19:05:04 -07:00
Matt Stephanson ebd229fd42
LWG-3422: Issues of seed_seq's constructors (#2260) 2021-10-19 18:49:29 -07:00
Casey Carter 4b97eaad13
Implement P2432R1 Fix `istream_view` (#2245) 2021-10-19 18:41:49 -07:00
Alex Guteniev a6718c2b81
P1272R4 `byteswap()` (#2235)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-10-19 18:31:05 -07:00
S. B. Tam 1598738c30
Move `u*streampos` to `<iosfwd>` (#2223) 2021-10-19 18:09:07 -07:00
Michael Schellenberger Costa a9f1b27ce0
P1659R3 ranges::starts_with, ranges::ends_with (#1997)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2021-10-19 17:26:47 -07:00
Stephan T. Lavavej 39e5829b3c
Toolset update: VS 2022 17.0 Preview 5, Windows 11 (#2277) 2021-10-19 17:20:14 -07:00
yuanhongzhao 6aac0c9d38
`<random>`: Fixes subtract_with_carry_engine io (#2088)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-10-08 19:15:15 -07:00
Casey Carter 48ac24cd0b
Workaround ExceptionFlags change in NT (#2265)
...by allowing flags other than `EXCEPTION_NONCONTINUABLE` to be set by `RaiseException`. This should unblock CI on the new Server 2022 VMs, for which `RaiseException` sets a new flag indicating that the exception originated in software. (This also reproduces locally for me on Windows 11.)

This mirrors the STL changes from the internal MSVC-PR-356899.
2021-10-08 15:23:32 -07:00
Stephan T. Lavavej dc888f7d9f
`tests/tr1`: Fix sporadic failures caused by `tmpnam`/`_tempnam` (#2210) 2021-09-24 20:29:15 -07:00
Igor Zhukov ec46d76e01
LWG-3520 `iter_move` and `iter_swap` are inconsistent for `transform_view::iterator` (#2200)
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@googlemail.com>
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-09-24 20:20:18 -07:00
Casey Carter d4d409e600
LWG-3549 `view_interface` is overspecified to derive from `view_base` (#2198) 2021-09-24 20:15:19 -07:00
Casey Carter eb70080e1b
P2281R1 Clarifying Range Adaptor Objects (#2197)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-09-24 20:09:29 -07:00
Adam Bucior ed318b83a8
Extend `memcpy`, `memmove`, and `memcmp` optimizations (#2158)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-09-24 20:02:24 -07:00
Stephan T. Lavavej 636a69d192
Toolset update: VS 2022 17.0 Preview 4 (#2204) 2021-09-24 19:55:59 -07:00
Stephan T. Lavavej d6f9987d7e
Skip flaky tr1 tests. (#2202) 2021-09-14 13:48:58 -07:00
Igor Zhukov 1a985bc4e0
implement LWG-3527 (#2194)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-09-10 20:24:00 -07:00
Matt Stephanson 75e7d21b2c
`<algorithm>`: Fix `ranges::_Rotate_one_left` (#2188)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-09-10 20:13:20 -07:00
Michael Schellenberger Costa 2d62e84686
Fix constexpr vector again (#2161)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-09-10 19:51:44 -07:00
Michael Schellenberger Costa e652aa2fd3
`<format>`: fix invalid handling of large precisions (#2157)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-09-10 19:43:29 -07:00
Michael Schellenberger Costa 5d6a1f2957
Implement P0448R4 spanstream (#2029)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Charlie Barto <chbarto@microsoft.com>
Co-authored-by: Matt Stephanson <68978048+MattStephanson@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-09-10 19:31:05 -07:00
Michael Schellenberger Costa 21961bb1ef
Implement P2210R2 Superior String Splitting (#2042)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-09-01 21:34:46 -07:00