MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1w5zlxc/c26_stdhive/p7jrm73/?context=3
r/cpp • u/pavel_v • Sep 03 '26
80 comments sorted by
View all comments
Show parent comment
20
FYI, std::deque is not a linked list of blocks.
std::deque
Edit: std::deque is implemented as an array of pointers to blocks. Linked list would not allow random access, which is requirement for std::deque.
View all comments
Show parent comment
20
u/encyclopedist Sep 03 '26 edited Sep 03 '26
FYI,
std::dequeis not a linked list of blocks.Edit:
std::dequeis implemented as an array of pointers to blocks. Linked list would not allow random access, which is requirement forstd::deque.