oh, and you cannot do &t32.memory - that's vector object, what you need is to pass pointer to data it holds