3 ms·
I guarantee you its a far cry from what templates will let you do. However, its overloading a custom type to behave like a higher order function, which is a fa
by tatterdemalion 10y ago
I guarantee you its a far cry from what templates will let you do.
However, its overloading a custom type to behave like a higher order function, which is a fairly complex piece of code. Most uses of generics are much simpler.