Stephan T. Lavavej
ab6cbd3ea3
LWG-1203 More useful rvalue stream insertion ( #1225 )
2020-08-26 00:51:43 -07:00
Stephan T. Lavavej
2bec360228
Revert 64-bit interlocked intrinsics on x86 ( #1222 )
...
This ports MSVC-PR-269581, reverting GH-986 / MSVC-PR-240462.
2020-08-26 00:47:02 -07:00
Hamid Reza Arzaghi
1e26743c3d
Improve vector growth performance near max_size ( #1221 )
...
Fixes #1217 .
2020-08-26 00:40:46 -07:00
Casey Carter
20fe376b3d
Coroutine promise types must have member unhandled_exception in C++20 ( #1219 )
2020-08-26 00:33:52 -07:00
Casey Carter
7b0167c84a
Implement views::empty and views::single range factories ( #1201 )
2020-08-26 00:25:43 -07:00
Hamid Reza Arzaghi
ea1aaf76cb
get_time() should ignore case when parsing days and months ( #1168 )
...
Fixes #1126 .
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-08-26 00:13:30 -07:00
Alex Guteniev
fb11d09bc9
<valarray>: Expand macros, avoid magic statics ( #1165 )
...
Fixes #991 and fixes #1169 .
2020-08-25 23:58:01 -07:00
Billy O'Neal
5bf2826707
Turn on /analyze (for PR/CI builds) and fix resulting warnings ( #1009 )
...
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Curtis Jacques Bezault <curtbezault@gmail.com>
2020-08-25 23:43:27 -07:00
Stephan T. Lavavej
484fbc9742
Test <coroutine> ( #1215 )
...
Co-authored-by: Jonathan Emmett <joemmett@microsoft.com>
2020-08-21 20:02:42 -07:00
Casey Carter
7a7602cb0f
Limit line length to 120 columns ( #1214 )
...
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-08-21 19:53:55 -07:00
Casey Carter
8ee6e65d0f
Fix counted_iterator unwrapping bug ( #1213 )
2020-08-21 19:49:15 -07:00
Stephan T. Lavavej
22d061b732
Update test configurations (remove /await and skips, add missing options) ( #1207 )
2020-08-21 19:42:41 -07:00
Hamid Reza Arzaghi
0926c8282c
Add test to cover deque::erase(iter, iter) avoiding self-move-assigns ( #1203 )
...
Fixes #1176 .
2020-08-21 19:38:00 -07:00
statementreply
0b81475cc8
Fix ostream << floating_point not correctly handling precision ( #1173 )
...
1. Hexfloat output now ignores precision as required by the standard. (Fixes #1125.)
2. Zero precision is now correctly passed to sprintf.
3. Negative precision no longer crashes.
2020-08-21 19:20:19 -07:00
MattStephanson
465d0a5e13
Fix errors in hyperbolic function crossover ( #1156 )
...
Fix integer truncation and off-by-one errors in calculating limit where
exp(-x) can be ignored in hyperbolic functions.
2020-08-21 19:12:27 -07:00
Michael Schellenberger Costa
aafee761bc
Implement ranges::ref_view ( #1132 )
...
Co-authored-by: Casey Carter <Casey@Carter.net>
2020-08-21 19:04:33 -07:00
Amit Rastogi
a293fad256
Updated README.md - Use the vcpkg submodule instead of separately cloning ( #873 )
...
Fixes #761 .
Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-08-21 18:57:03 -07:00
Casey Carter
54be1fd1f0
STL updates for new EDG version ( #1216 )
...
Small changes to help the new IntelliSense compiler better work with the concepts-using C++20 STL.
Drive-by: Avoid `/analyze:only` run timeouts in two Ranges tests that weren't quite exhausting memory.
2020-08-21 12:06:34 -07:00
Stephan T. Lavavej
3cca47387b
Update __cpp_lib_coroutine. ( #1204 )
2020-08-18 13:00:00 -07:00
Alex Guteniev
a68edbee97
Use SRWLOCK in atomic_load operation on shared_ptr ( #1200 )
...
Fixes #370 .
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-08-17 18:08:20 -07:00
Casey Carter
130696300d
Correct issues from investigation of VSO-938163 ( #1191 )
2020-08-17 17:59:46 -07:00
Alex Guteniev
3de20f9120
Test _Countl_zero_bsr with a dedicated test ( #1166 )
...
Resolves #1120 .
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2020-08-17 17:56:05 -07:00
statementreply
9fb6caa54c
<charconv>: fix from_chars("0.fffffffffffff8p-1022") ( #934 )
...
Fixes #931 .
2020-08-17 17:45:53 -07:00
Alex Guteniev
e7451b3f9d
test_atomic_wait.hpp: remove another timing assumption ( #1193 )
2020-08-14 14:35:49 -07:00
Casey Carter
02bf0cf685
/std:c++latest configs are /permissive or /permissive- ( #1162 )
...
So our test coverage won't be damaged when the compiler changes `/std:c++latest` to imply `/permissive-`. I do so by adding `/permissive-` to every `/std:c++latest` command line that doesn't yet have it, and then reverting one configuration in each matrix to `/permissive`. It seems sensible to me that the majority of our coverage should change from permissive to strict mode to reflect the change in compiler default.
2020-08-14 14:33:13 -07:00
Michael Schellenberger Costa
1e42166b78
Implement counted_iterator ( #1083 )
...
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <Casey@Carter.net>
2020-08-14 14:27:53 -07:00
Billy O'Neal
87dc1d3383
Guard noexcept annotated function pointer type for __cpp_noexcept_function_type. ( #1150 )
...
Resolves VSO-1166234.
2020-08-13 11:49:21 -07:00
Alex Guteniev
f3ca37d67c
Implement atomic_ref ( #2 , p0019r8) ( #843 )
...
Co-authored-by: Billy O'Neal <bion@microsoft.com>
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-08-12 18:10:46 -07:00
Alex Guteniev
f3bbb98e71
Move _ATOMIC_WAIT_ON_ADDRESS_STATICALLY_AVAILABLE ( #1179 )
2020-08-12 12:52:23 -07:00
Casey Carter
ae1068e07b
<deque>: Use _Next_iter and _Prev_iter ( #1161 )
2020-08-12 12:51:26 -07:00
Casey Carter
7f29487be5
Implement ranges::uninitialized_move ( #1137 )
2020-08-12 12:47:52 -07:00
Casey Carter
4ce746ca4e
Implement ranges::sort ( #1127 )
2020-08-12 12:45:48 -07:00
statementreply
3224307ff6
<random>: Fix parameter initialization of piecewise_constant_distribution and piecewise_linear_distribution ( #1032 )
2020-08-12 12:37:36 -07:00
Stephan T. Lavavej
ea02d35bdc
Use Standard_D16as_v4. ( #1185 )
2020-08-12 12:35:19 -07:00
Jonathan Emmett
1680ae7f0e
Remove noexcept from coroutine_handle<>::resume and operator() ( #1182 )
2020-08-11 15:04:41 -07:00
Billy O'Neal
f437e98359
Add DisableThreadLibraryCalls to all satellite DLLs. ( #1142 )
2020-08-10 23:52:31 -07:00
Hamid Reza Arzaghi
19135668f4
Fix unnecessary self-move-assignments in deque erase(iter, iter) ( #1148 )
...
Fixes #1118 .
2020-08-09 16:05:27 -07:00
Alex Guteniev
392fb6d857
Cache hardware thread count for <execution> ( #1143 )
...
Fixes #1134 .
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2020-08-09 15:59:11 -07:00
Alex Guteniev
bdf7710249
wait/notify atomic<shared_ptr<T>> ( #52 , P1644R0) ( #1136 )
...
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
2020-08-09 15:38:59 -07:00
Casey Carter
af3db68781
partial_sort_copy bugfix ( #1088 )
...
Fixes #1086 .
2020-08-09 15:28:43 -07:00
Casey Carter
eb33f1a1e9
Implement ranges::lexicographical_compare ( #1081 )
2020-08-09 15:07:00 -07:00
Stephan T. Lavavej
d83bc99312
Upgrade toolset to VS 2019 16.8 Preview 1 ( #1153 )
...
Fixes #1051 .
2020-08-09 14:56:45 -07:00
Jonathan Caves
e000d3feaf
Disable a libcxx test due to the impact of P0960R3 ( #1138 )
...
Disable some tests due to impact of P0960R3: allow initializing aggregates from a parenthesized list of values
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2020-08-05 14:36:08 -07:00
leejy12
cbfc5272c8
Update _MSVC_STL_UPDATE to August 2020 ( #1144 )
2020-08-05 00:21:15 -07:00
Stephan T. Lavavej
06c2c54358
Fix build warning "restarting link with /LTCG". ( #1140 )
2020-08-05 00:17:15 -07:00
Casey Carter
5d00b606b4
Implement ranges::merge ( #1101 )
2020-08-05 00:09:55 -07:00
Casey Carter
0eb754dedd
Implement ranges::next_permutation and ranges::prev_permutation ( #1099 )
2020-08-05 00:02:21 -07:00
Casey Carter
622b62a777
Implement ranges::reverse_copy ( #1095 )
...
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-08-04 23:51:25 -07:00
Alex Guteniev
b74b6188b2
Remove timing assumption that causes test to fail spuriously ( #1129 )
2020-08-03 13:40:04 -07:00
Billy O'Neal
b57b7685ff
Change CMakeLists.txt to default to our submodule'd vcpkg copy. ( #1124 )
2020-08-03 13:34:37 -07:00