Home | History | Annotate | Download | only in decpp

Lines Matching refs:other

56 					ArrayBuffer		(const ArrayBuffer& other);
58 ArrayBuffer& operator= (const ArrayBuffer& other);
62 void swap (ArrayBuffer& other) throw();
130 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const ArrayBuffer<T,Alignment,Stride>& other)
134 if (other.m_cap)
138 const size_t storageSize = (other.m_cap - 1) * Stride + sizeof(T);
139 ArrayBuffer tmp (other.m_cap);
141 deMemcpy(tmp.m_ptr, other.m_ptr, (int)storageSize);
153 ArrayBuffer<T,Alignment,Stride>& ArrayBuffer<T,Alignment,Stride>::operator= (const ArrayBuffer& other)
155 ArrayBuffer copied(other);
178 void ArrayBuffer<T,Alignment,Stride>::swap (ArrayBuffer& other) throw()
180 void* const otherPtr = other.m_ptr;
181 const size_t otherCap = other.m_cap;
183 other.m_ptr = m_ptr;
184 other.m_cap = m_cap;