Hi Joe, Aaargh, you got us here. Dead documentation is really worse than dead code. I'll fix it in the trunk. Thanks. Christian
-- Christian Schulte, KTH, web.it.kth.se/~cschulte/ -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Joseph Scott Sent: Tuesday, November 4, 2014 03:47 PM To: users@gecode.org Subject: [gecode-users] allocated() virtual member function? Hello, I have a quick question about a propagator with heap-allocated memory. I understand that it needs to be registered for disposal, via AP_DISPOSE. But I'm a little confused by the "Reporting allocated memory" paragraph in MPG (Section 30.2, p. 361), which states that any propagator allocating non-space memory "must implement the virtual member function allocated()". I've looked, but it seems like the allocated() member function has been removed (maybe as part of the change to peak memory tracking in 4.2?). Is it safe to assume this paragraph no longer applies? Or do I need to report the propagator's allocated size somewhere else? Thanks! Joe _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users