COMMON: Fix code formatting, rename stuff for consistency

This commit is contained in:
Max Horn 2011-06-15 22:32:38 +02:00
parent dc1c1d48d9
commit 7be9a57524

View File

@ -252,11 +252,11 @@ public:
_size = newSize;
}
void assign(const T *srcBegin, const T *srcEnd) {
resize(distance(srcBegin, srcEnd)); //fixme: ineffective?
void assign(const_iterator first, const_iterator last) {
resize(distance(first, last)); // FIXME: ineffective?
T *dst = _storage;
while(srcBegin != srcEnd)
*dst++ = *srcBegin++;
while (first != last)
*dst++ = *first++;
}
protected: