N
Neo
Hello,
I have a question on memory allocation for containers. I know what
happens when I ask for a container of a certain size or when the
container grows to accommodate new elements. The question I had is
what does the OS do when an application requests for memory, for ex
from a code using stls? Does the application get what it requests ?
and where does the memory provided reside, will it be in the memory
allocated to the application? or will it enlarge the memory allocated
to the app?
Thanks,
Neo
I have a question on memory allocation for containers. I know what
happens when I ask for a container of a certain size or when the
container grows to accommodate new elements. The question I had is
what does the OS do when an application requests for memory, for ex
from a code using stls? Does the application get what it requests ?
and where does the memory provided reside, will it be in the memory
allocated to the application? or will it enlarge the memory allocated
to the app?
Thanks,
Neo