3 ms·
Yes! The problem is, alternative implementations are also meta-programming tricks! Template meta-programming techniques like 'C++ Traits' and 'Curiously recur
by dchichkov 11y ago
Yes! 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?