|
|
|
|
|
by acehreli
1946 days ago
|
|
Yes, C++ has been catching up since C++11. One thing C++ will never have is D's `static if`, which allows injecting declarations into scopes. Bjarne Stroustrup and others closed that door: https://isocpp.org/files/papers/n3613.pdf |
|
don't be so sure
https://github.com/lock3/meta/wiki/Metaprogramming-Introduct...
a lot of it is already implemented: https://cppx.godbolt.org/z/4arx6T