Hacker News new | ask | show | jobs
by gpderetta 1023 days ago
Is this related to std::hive [1] as proposed for next C++ standard?

[1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p04...

1 comments

At a quick glance, this is very close. However, the proposal goes through several contortions to maintain pointer stability. If you preallocate sufficient storage for your worst case (which can be unmapped virtual memory) then it makes implementation a lot simpler.

Neat that the committee is looking to introduce it. Too bad we eschew the STL (and even CRT) in games.