@wizzardx I tried similar things to work around importing [this templated C++
generic types bug](https://github.com/nim-lang/Nim/issues/6415)
C extern function: Too much boilerplate code is needed on the C++ side and on
the Nim side, "So you provided bindings for [T: SomeSignedInt] well now do
[T:SomeInteger, N: static[int]] with N between 1 to 10" and suddenly instead of
int, int32, int64 you have 10*{int, int32, int64} bindings to do.
I stopped quickly and I'm waiting for the bug.
Emit statement: I actually templated the C++ part of the boiler plate through
Nim. I could have done the Nim part with macro as well but still this is a mess.
Writing in C++: "Spare me!"