I've been reading about serialization, and in multiple places, I've seen people take about "reinitializing pointers" on serializing classes that have pointers within them.
How exactly would one implement this? I mean, I don't get it. don't pointers point to locations in virtual memory? and don't these locations change every time the program is loaded? so how can someone "bake" this data?
could someone please explain this to me?