3 ms·
The concept reminds me of F#'s "Type Providers" [1]. In terms of the implementation ... I feel like C++ is best when used in an "orthodox style" and minimizing
by emmanueloga_ 2y ago
The concept reminds me of F#'s "Type Providers" [1].
In terms of the implementation ... I feel like C++ is best when used in an "orthodox style" and minimizing the use of templates as much as possible.
--
1: https://learn.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/ https://learn.microsoft.com/en-us/dotnet/fsharp/tutorials/ty...
- goodcanadian 2y agoMy experience with template meta-programming: it is hardly ever useful, but on those rare occasions when it is, it is magical!