Re:Clang is now feature complete for C++14
by MichaelMoser123 on Friday November 08, 2013 @05:13AM
(#6695427)
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.
Re:Clang is now feature complete for C++14
by ape4 on Friday November 08, 2013 @03:58PM
(#6699111)
As 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.
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.