3 ms·
D evaluates until it hits something it can't manipulate at compile time whereas constexpr requires things to be annotated as such, so the difference is slightly
by mhh__ 5y ago
D evaluates until it hits something it can't manipulate at compile time whereas constexpr requires things to be annotated as such, so the difference is slightly more subtle.
- pjmlp 5y agoWhile true, Circle C++ compiler works as D does, although that is not standard, thus D does win in expressiveness.