got some of the output c++ wrappers compiling, but we dont seem to be able to handle return types in the general case. typedefing things is something needed. also primitive  typeparams strangely dont work
test file to include and compile 'testoutput.cpp' ..test_testoutput.cpp