|
|
|
|
|
by fishpi
4668 days ago
|
|
I did something like this using C++ template metaprogramming, which means you can make use of the compiler to figure out the types for you, and you just have to write class templates to produce the English description. It's described at http://blog.asymptotic.co.uk/2011/02/c-type-declaration-deco... , although somewhere along the line the markup got corrupted so the code samples don't quite render correctly. |
|