New C++ print (typesafe) function and demangle function.
New unit test.
Refactoring.