G
Hello,
in embedded programming, different kinds of memory exist, e.g. RAM and
ROM (Flash memory). For a class containing variables and constant
values one might want to put the variables in RAM and the constants in
ROM, which means that the object is split into different parts in
memory.
Besides from the fact that the current compiler does not support such
feature: does the C++ standard require an that the objects data
resides in continuous memory (e.g. starting from this pointer), or can
the object be put in different places in memory?
Thanks,
Uli
in embedded programming, different kinds of memory exist, e.g. RAM and
ROM (Flash memory). For a class containing variables and constant
values one might want to put the variables in RAM and the constants in
ROM, which means that the object is split into different parts in
memory.
Besides from the fact that the current compiler does not support such
feature: does the C++ standard require an that the objects data
resides in continuous memory (e.g. starting from this pointer), or can
the object be put in different places in memory?
Thanks,
Uli