Lines Matching refs:rhs
50 Array(const Array& rhs) in Array()
53 *this = rhs; in Array()
65 void push(const Array<T>& rhs) in push()
67 if (rhs.count == 0) return; in push()
68 grow(rhs.count); in push()
69 memcpy(data + count, rhs.data, rhs.count * sizeof(T)); in push()
70 count += rhs.count; in push()
165 void operator=(const Array& rhs)
167 reserve(rhs.count);
168 if (rhs.count > 0) memcpy(data, rhs.data, sizeof(T) * rhs.count);
169 count = rhs.count;