Re: Is CArray best for this...



David Wilkinson schrieb:

[...]

It is rather that, IMHO, CArray was poorly designed at the beginning compared to std::vector:

1. Confusing double template argument

2. Confusing helper functions

3. Confusing duplication in operator [], GetAt() and ElementAt()

4. No copy constructor or assignment operator

5. Non-portable

You forgot one:

6. It scales very bad when used with large amount of data.

Norbert
.


Loading