2 ms·
> templates The vast majority of C++ template usage is acheived by generics, and in a much more type safe and debugable manner. Most of the remaining things c
by Manishearth 11y ago
> templates
The vast majority of C++ template usage is acheived by generics, and in a much more type safe and debugable manner.
Most of the remaining things can be achieved by Rust's hygenic macros (which are not like C++ macros, they're more like C++ templates in how they can be used and the guarantees they provide).