Hi,

Does anyone know if there is possible to decide in runtime either to call:


delete someptr;




or


delete [] someptr;




What about smart pointers? How do they know which one to call?



Kjetil Haga