Why does QQueue inherit from QList but QStack inherits from QVector? Is there any special reason? I mean, why can't it be the other way around or both QQueue and QStack inherit from one of QList or QVector?
Thanks.
Why does QQueue inherit from QList but QStack inherits from QVector? Is there any special reason? I mean, why can't it be the other way around or both QQueue and QStack inherit from one of QList or QVector?
Thanks.
Bookmarks