c++求找错!
// 重载 + (实现两个DynamicArray的拼接操作)
template<class Type, size_t INIT_SIZE>
const DynamicArray<Type, INIT_SIZE> DynamicArray<Type, INIT_SIZE>::operator+(const DynamicArray &a_other) const
{
DynamicArray<Type> tmp;
//tmp.m_base = tmp.reApp(tmp.m_base, (m_length + a_other.m_length));
memcpy(tmp.m_base, m_base, m_length * sizeof(Type));
memcpy(tmp.m_base + m_length * sizeof(Type), a_other.m_base, a_other.m_length * sizeof(Type));
tmp.m_length = tmp.m_size;
return tmp;
}