Quote:
|
Originally Posted by Corona688
Is it legal to allocate an array of size zero? I know you can in C, it just bumps the size up to the minimum, but in C++, I'm not so sure.
[edit] Occurred to me that it could be something in T crashing, rather than the template class
|
i thought that might be the problem as well, but it does it even if i set the size to something bigger than zero, it also does it if there is no pointer initiliazation at all.