3 ms·
That's why i like C; you never bitch about such things, you just do your own list; In C++ you are supposed to reuse standard abstractions; So you can - do yo
by MichaelMoser123 13y ago
That's why i like C; you never bitch about such things, you just do your own list;
In C++ you are supposed to reuse standard abstractions; So you can
- do your own std::list; (still have to copy iterators and everything into it;-)
- do your own wrapper around std::list that exposes a weaker interface,
- make your own list and everybody start to bitch that you are reinventing the wheel.
- ape4 13y agoAs you know in C++ you can do things the C++ way or the C way. That's why I like C++. If you want O(1) for size() of a collection you can use std::vector<> Of course, it doesn't suit every situation.