pperea21 / Publications
Forum
[Suspected bug] CQueue::CopyTo error
Hi, I've found that CopyTo method has a mistake Original code is : template<typename T> int CQueue::CopyTo(T &dst_array[],const int dst_start=0) { //--- resize array if((dst_start+m_size)>ArraySize(dst_array)) if(ArrayResize(dst_array,dst_start+m_size)<0) return(0); //--- copy queue