You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both MSVC and Clang (but perhaps not EDG, unfortunately) provide magics supporting this before implementing WG21-P2747R2. Godbolt link. It seems that currently (or before C++26) EDG must perform constexpr placement new in std::construct_at.
However, when the value type is an array (although this is a rare case), the support is currently broken. Clang can't placement-new arrays in constant evaluation at all before ver 20. MSVC (and EDG in std::construct_at, in the case of LWG-3436) currently can, but there're now some bugs that can't be worked around.
WG21-P3508R0
constexpr
For Raw Memory AlgorithmsWG21-P3369R0
constexpr
Foruninitialized_default_construct()
INCREASED feature-test macro (expected):
This depends on WG21-P2747R2
constexpr
Placementnew
, implemented in Clang 20, so we'll be able to make progress with at least one compiler.Note: We're focused on implementing the remaining library-only features in C++23. Until that's done, we will NOT be accepting PRs for C++26 features.
The text was updated successfully, but these errors were encountered: