Plans for C++/WinRT 3.0 and 4.0 #1594
Replies: 2 comments 1 reply
-
|
Anything that's a breaking change will de facto need to be 4.0 or later. |
Beta Was this translation helpful? Give feedback.
-
A fair number of these are about moving the minimum bar from C++17 to C++20. I'm a fan of adopting C++20 features that improve the developer experience, but raising the minimum is a bigger ask, especially when there are some aspects of C++20 adoption that can break binary compat in some cases (I'm forgetting the specific cases off the top of my head, but I've heard it enough that I don't think I'm completely hallucinating). For example, for Can we introduce concepts additively? Ditto for three-way comparison? I'm interested to see what we can learn from possible telemetry and how many of our users are actually using C++20 today. Outside of C++20... The LoadLibrary change is still planned to take forward. We just need to fine-tune the approach and "boil the frog", since it can introduce silent runtime behavior changes. What value is there, other than abstract "consistency" to changing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, there are no clear plans for what changes C++/WinRT will undergo in the future. I believe C++/WinRT could be improved in the following areas:
wcstring_viewtype to address critical issue Bug: Undefined behavior in param::hstring(std::wstring_view #1569, which is a breaking change.array_viewtostd::span, which is a breaking change and requires C++20.std::atomic_refinstead of raw synchronization intrinsics to simplify code, which is requires C++20.hstring'svalue_typetochar16_tfor consistency withbox_value(which does not acceptwchar_t), which is a breaking change.uninit_apartmentand provide a RAII class to uninitialize COM, which is a breaking change.Which of these will be accepted and which will not? Which belong to C++/WinRT 3.0 and which belong to C++/WinRT 4.0?
Beta Was this translation helpful? Give feedback.
All reactions