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 for Windows