3 ms·
You can't specialize a generic algorithm for specific operations and data structures; in C++ terms, it gives you overloading, not templates.
by remexre 3y ago
You can't specialize a generic algorithm for specific operations and data structures; in C++ terms, it gives you overloading, not templates.
- kevin_thibedeau 3y agoIt gives generic programming. C++ templates aren't the only possible implementation.
- kaba0 3y agoSo where is a generic vector data structure written in plain C that is efficient (that is, doesn’t store pointers to elements).