Allocators Testing Added. Pull and Chunk allocators updates.

This commit is contained in:
IlushaShurupov 2023-07-07 22:11:22 +03:00
parent 4a2ab6f5d0
commit 9e5ac1e975
30 changed files with 704 additions and 701 deletions

View file

@ -34,7 +34,7 @@ namespace tp {
Mat& operator=(const Mat& in) {
if (&in == this) return *this;
memcp(this, &in, sizeof(Mat<Type, tNRows, tNColoumns>));
memCopy(this, &in, sizeof(Mat<Type, tNRows, tNColoumns>));
return *this;
}
@ -341,7 +341,7 @@ namespace tp {
}
Mat& operator=(const Mat& in) {
memcp(this, &in, sizeof(Mat2<Type>));
memCopy(this, &in, sizeof(Mat2<Type>));
return *this;
}

View file

@ -53,7 +53,7 @@ namespace tp {
}
Vec(const Vec& in) {
memcp(mBuff, in.mBuff, sizeof(Type) * tSize);
memCopy(mBuff, in.mBuff, sizeof(Type) * tSize);
}
Type& operator[](ualni i) {