2 ms·
In Windows (as in most OS:es), any memory you allocate in user space is virtual, end of story. Ok, not really end of story (I just said that because it's mostl
by amag 10y ago
In Windows (as in most OS:es), any memory you allocate in user space is virtual, end of story.
Ok, not really end of story (I just said that because it's mostly true). You can allocate physical memory from user space but that is for very specific purposes and your general purpose CRT allocator (whereas new or malloc) will not be doing that.
Also (last I looked) the MSVC CRT "new" uses malloc.