Hacker News new | ask | show | jobs
by emmanueloga_ 704 days 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/ty...

1 comments

My experience with template meta-programming: it is hardly ever useful, but on those rare occasions when it is, it is magical!