~/talk

KEYNOTE: Qt Containers and Algorithms

Talkat QtDay 2020 · 2020-11-16..11-19· [c-and-cpp]
links:none on file
slides:none on file

Qt 6 makes concrete choices: QList==QVector in Qt6 so most sequential containers are contiguous, QMap/QMultiMap wrap std::map behind a shared_ptr (extra indirection), and QLinkedList is dropped; the implicit sharing model (implicit copy-on-write) lets code return lazily created lists without copies but can cause surprising allocations. QString uses UTF-16 (QString is UTF-16), QStringView/Latin1/UTF8 avoid reallocations, QVarLengthArray is not shared, and standard algorithms and C++ Ranges can be applied to Qt containers.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:56Why Qt has its own containers
  3. 17:26Overview of Qt container types
  4. 24:35Associative containers: QMap and QHash
  5. 32:52Adapters and specialized containers
  6. 35:39Text handling in Qt: QString and QByteArray
  7. 41:18Views vs containers in Qt
  8. 45:55Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.