Between VirtualAlloc and MapViewOfFile, Windows has roughly equivalent functionality. Windows also separates out "reserve" and "commit" in the API.
Re:Double-ended vector – is it useful?
by omgtehlion on Monday May 23, 2016 @02:58AM
(#11752355)
Portable enough. I did this successfully on Windos and OSX (using mach calls)
Even if all of those special cases apply, I'd first use dequeue or something ready and only reimplement it if it was too slow or take too much space in practice. We've got good-enough solutions for many cases. I'm ok with good-enough in many cases :)