Comment on Compile-time JSON deserialization in C++parentComments−emmanueloga_2yThe 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...−goodcanadian2yMy experience with template meta-programming: it is hardly ever useful, but on those rare occasions when it is, it is magical!
Comments
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...
My experience with template meta-programming: it is hardly ever useful, but on those rare occasions when it is, it is magical!