/*! make a shallow copy of the vector\n This function is not desinged to be used in project codes. */ inline void drovector::shallow_copy(const _drovector& vec) {VERBOSE_REPORT; l =vec.l; cap =vec.cap; delete [] array; array =vec.array; vec.nullify(); }
/*! drovector constructor to cast _drovector */ inline drovector::drovector(const _drovector& vec) {VERBOSE_REPORT; //////// initialize //////// l =vec.l; cap =vec.cap; array =vec.array; vec.nullify(); }