C++ Logo

std-proposals

Advanced search

[std-proposals] PR: std::allocator<T>::allocate is not freestanding

From: trtaab trtaab <tvfvof_at_[hidden]>
Date: Sat, 2 Sep 2023 19:22:32 +0000
Currently there is no way to allocate memory at constexpr context in freestanding environment. This desperately needs a fix.

N4958 does not mark std::allocator<T> as freestanding so there is no way to allocate memory in freestanding.

This is std::addressof situation 2.0


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows


Received on 2023-09-02 19:22:34