I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Programming » New Module Ideas »

will\′s Photo
27 Sep 05, 11:45AM
Thats seems the way to go..

You might want to create a small abstraction to your class. Not sure if they're is anything really neat you can do with templates to solve this. But you essentially want to be able to apply this approach to constant sized variables (classes included) without being dependent on the SaveableType and also to those that dynamically allocate memory..

I also wondered if you could so something dangerously clever by redefining the new operator, so you could catch memory being allocated by a class and allocate disk in your file accordingly. Given that every good class should have a copy constructor, which make an exact copy of anything it finds, I wonder if it might be possible to hijack something in there.. Mega long shot. And probably overtly complex..

Good luck Will.
Currently you need to be logged in to leave a message.