Re:What's so hard about constexpr allocation?
by phaedrus on Friday July 26, 2024 @12:18PM
(#41079866)
It seems like C++ would be simpler if were either just all immutable (like Haskell) or embraced using the full, mutable language for metaprogramming (Jonathan Blow's Jai). Of course that's a horse that left the barn before most of the current barn was even built.
[ Parent
| on HN ]
Re:What's so hard about constexpr allocation?
by cryptonector on Friday July 26, 2024 @01:28PM
(#41080468)
I suppose one could opt-into default-immutable and make it Rust-like. That'd be nice.