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

18 Коммитов

Автор SHA1 Сообщение Дата
A. Jiang 2fa1641fb6
`static operator()` for stateless functors (#4358)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-02-06 01:18:25 -08:00
S. B. Tam 0c47a7cfc9
Enable `__cpp_lib_concepts` for EDG, part 3 (#4298)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2024-02-06 01:05:52 -08:00
Alex Guteniev 939513b9aa
Update preprocessor `#else` and `#endif` comment (#3950)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-09-21 12:42:29 -07:00
Alex Guteniev 9ad382e2f5
Update preprocessor `#else` comment in product code to clarify which mode is where (#3900)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-08-10 16:48:21 -07:00
Stephan T. Lavavej 92d050e02b
Drop `#pragma once` in STL headers (#3895) 2023-07-26 11:54:17 -07:00
Alex Guteniev f6dadc0a33
Some Cpp Core Guidelines warning fixes (#2116)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-03-30 14:55:00 -07:00
Igor Zhukov be29af22c0
standardize `^^^ x / !x vvv` comments (#3208)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-12-06 14:25:25 -08:00
Stephan T. Lavavej 2f03bdf361
P2465R3 Standard Library Modules `std` And `std.compat` (#3108) 2022-09-19 14:47:02 -07:00
nicole mazzuca 222a5584fd
Prettify STL error output (#2897)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-08-03 15:43:37 -07:00
Igor Zhukov dc29e30c8b
add STL4038 prefix to "requires C++NN or later" messages (#2061)
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-07-27 18:40:10 -07:00
Daniel Marshall 472161105d
Remove SHOUTY BANNERS (#2074)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:33:09 -07:00
Jonathan Emmett c5ee3b32bd
Downlevel standard coroutine support (#1730)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-03-11 20:45:03 -08:00
Casey Carter 39ee107c95
LWG-3460 Unimplementable noop_coroutine_handle guarantees (#1452)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-12-02 15:06:02 -08:00
Casey Carter 04eca1ccce
hash<coroutine_handle<>>::operator() should be const (#1423)
Fixes #1422.
2020-11-06 16:53:02 -08:00
Casey Carter d19446293a
Implement non-concepts fallback for coroutine_handle operator<=> (#1249)
* Implement non-concepts fallback for coroutine_handle operator<=>

... to allow EDG to compile `<coroutine>`. [This is a dual of MSVC-PR-271029.]

* Reorder feature-tests in `<experimental/generator>`

... so it won't notice that Edge defines both `__cpp_impl_coroutine` and `__cpp_coroutines` in C++20 mode.

Also don't test `VSO_0971246_legacy_await_headers` with `/BE /await`; `/await` is meaningless for Edge.
2020-09-02 12:15:57 -07:00
Jonathan Emmett 1680ae7f0e
Remove noexcept from coroutine_handle<>::resume and operator() (#1182) 2020-08-11 15:04:41 -07:00
Stephan T. Lavavej afcf7b608d
Implement noop_coroutine(). (#961) 2020-07-01 18:29:27 -07:00
Jonathan Emmett 0cdf5fbfac
Library support for C++20 coroutines (#894)
* Library support for C++20 coroutines

Implements most of <coroutine>. Usefulness of this header is dependent
on a compatible compiler (e.g. Visual Studio 2019 16.8 Preview 1 or
later) that defines `__cpp_impl_coroutine`. With such a compiler
this header exposes the coroutine library support in the `std` namespace
without the need for an `/await` switch.

This implementation is not yet complete:

- noop coroutines are not yet implemented
- symmetric transfer is not yet implemented

The value of `__cpp_lib_coroutine` is defined to a value less than the
Standard-mandated value to represent the incomplete feature.

Co-authored-by: Daniel Marshall <xandan@gmail.com>
2020-06-17 09:08:37 -07:00