Y
Hacker News
new
|
ask
|
show
|
jobs
by
lubutu
528 days ago
C23 has constexpr, albeit only for objects, not functions. The code also uses namespaces, as in `std::aligned_alloc(P, T)`.
1 comments
ryao
528 days ago
You have to be 1/3 down the page to see any of this in the code examples. By that point, you would already have seen a number of examples that are valid C code and it is reasonable to expect the rest to be. At least, that was my experience.
link