added struct q_wrap for use in c++ containers, programm compiles, but crashes while initialization