|
|
|
|
|
by dodobirdlord
2123 days ago
|
|
It has been a while, and I’m remembering from a discussion of new features in C++20, but I recall that constexpr isn’t capable of fully supporting memory allocations made during evaluation, while Rust’s const fn will eventually be able to. |
|