Proper use of placement new