| 207 | } |
| 208 | |
| 209 | void clear() |
| 210 | { |
| 211 | if (IsDynamic()) |
| 212 | { |
| 213 | m_dynamic.clear(); |
| 214 | return; |
| 215 | } |
| 216 | |
| 217 | SetStaticSize(0); |
| 218 | } |
| 219 | |
| 220 | /// @todo Here is some inconsistencies: |
| 221 | /// - "data" method should return 0 if vector is empty;\n |
no outgoing calls