4 ms·
https://www.reddit.com/comments/bzqjd/metaprogramming_is_the_language_feature_that/?sort=random https://www.reddit.com/comments/bzqjd/metaprogramming_is_the...
by Jun8 11y ago
https://www.reddit.com/comments/bzqjd/metaprogramming_is_the_language_feature_that/?sort=random https://www.reddit.com/comments/bzqjd/metaprogramming_is_the...
- dchichkov 11y agoYes! The problem is, alternative implementations are also meta-programming tricks! Template meta-programming techniques like 'C++ Traits' and 'Curiously recurring template pattern'. Both are being used in the performance-critical places by the way (think Eigen library, etc). Is there some other alternative that allows 'compile-time static overrides' with relatively clean syntax?