2 ms·
Hum... Even though C++ can do HKT with templates, it's not a convenient feature of the language. C++ is really not the language that comes to mind when somebod
by marcosdumay 5y ago
Hum... Even though C++ can do HKT with templates, it's not a convenient feature of the language.
C++ is really not the language that comes to mind when somebody talks abut HKT.
- gpderetta 5y agoAs C++ features go, HKTs in the form of template arguments and templated associated types are fairly straightforward to use and understand. In fact we had usable type level lambdas before we got actual lambdas in the language. Of course, as the rest of templates there is no actual definition time type checking.