What can be stored in persistent memory?
Almost all normal data types can be stored, including built-in data types (ints, floats, doubles, enums etc), structures and arrays. Pointers may also be stored, but they will only be valid if they point to data in the persistent heap. If they point to data outside the heap, guess what? They will probably be broken the next time the program is run. Objects created using the STL are also perfectly valid, provided they use the allocator persist::allocator. For example, #include “persist_stl.h” struct AppData { std::vector