3 ms·
Just as curiosity. Why constexpr has taken so long to be fully implemented? I can't wait to use Cap'n Proto on VS :)
by pmelendez 12y ago
Just as curiosity. Why constexpr has taken so long to be fully implemented? I can't wait to use Cap'n Proto on VS :)
- StephanTLavavej 12y agoVC's current lack of an AST makes constexpr and other major features (especially variadic templates) very difficult. As the compiler devs have explained to me, this was a clever way to save space and time decades ago when C++ was simpler to compile. Features like constexpr and variadic templates make C++ easier to use, but they demand much more from the compiler's data structures.
- forrestthewoods 12y agoI always wondered about this. Interesting.
- pmelendez 12y agoThanks! This actually helps a lot to understand what's going on.