Thomas Rab <thomas.rab <at> gmail.com> writes: > class foo > { > public: > X x; > }; > > bar is actually a typedef for: const unsigned int* bar; > Basically I need x to create another object: made a slight typo. I meant X is a typedef for: const unsigned int*