constexpr std::vector? Works. constexpr std::string? Works. constexpr placement new? "Not a constant expression"
You could allocate at compile time, but you couldn't construct into that storage
C++26 closes the last major gap in constexpr allocation 🧵👇
Our mission is to make the C++ programming language accessible and useful to anyone who wishes to learn and apply the language.
Joined November 2017

