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
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: delete vs. delete []Threaded View
|
Click Here to Expand Forum to Full Width |