[Development] QList for Qt 6
Thiago Macieira
thiago.macieira at intel.com
Wed May 22 23:37:07 CEST 2019
On Wednesday, 22 May 2019 13:38:31 PDT Konstantin Shegunov wrote:
> What about a rather smart (in terms of storage) circular buffer; a vector.
> Then the push, pop, enqueue and dequeue would be amortized O(1)?
That's why std::queue is an adaptor, not a container. You can choose the
container it wraps.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Development
mailing list