|
|
| version 1.64, 2004/02/11 15:33:13 | version 1.67, 2005/11/25 12:21:34 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: Array & Array_iterator classes decls. | Parser: Array & Array_iterator classes decls. |
| Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| Line 89 public: | Line 89 public: |
| /// append to array | /// append to array |
| Array& operator += (T src) { | Array& operator += (T src) { |
| if(is_full()) | if(is_full()) |
| expand(2); | expand(+2); |
| felements[fused++]=src; | felements[fused++]=src; |