Y
Hacker News
new
|
ask
|
show
|
jobs
by
remexre
1124 days ago
You can't specialize a generic algorithm for specific operations and data structures; in C++ terms, it gives you overloading, not templates.
1 comments
kevin_thibedeau
1123 days ago
It gives generic programming. C++ templates aren't the only possible implementation.
link
kaba0
1123 days ago
So where is a generic vector data structure written in plain C that is efficient (that is, doesn’t store pointers to elements).
link