hi all,
I have a piece of code which suppose to reset the data members of a structure ( there are around 15 member variables ), this "clear" function gets called frequently and I want to make it run as fast as possible. Right now, I just use "assignment" operator. Can I use memcpy to copy over an initialized object over the object that I want to initialize ?. Will copying objects like this have any bad effects ?
Thank you