the idea was to create a wrapper for all the needed containers
individually, like so:

class myvec<T> : std::vector < T >
{
auto append(const auto& v) { push_back(v); }
auto append(auto&& v) { push_back(v); }
...

2015-01-30 12:28 GMT+01:00 Konstantin Tokarev <annu...@yandex.ru>:

>
>
> 29.01.2015, 23:35, "Felix morack" <felixo...@gmail.com>:
> > 1. yes, but that isnt stl based. i am talking about a drop-in
> replacement that wraps a std:: container.
> > 2. Qt containers will only store maximal number of MAX_INT number of
> items, ie 2147483647.
> > 3. because i have a lot of code written against the Qt api already.
>
> You might want to read Effective STL by Scott Meyers, in particular item
> "Beware the illusion of container-independent code".
>
> --
> Regards,
> Konstantin
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to