[boost] another approach to memory management that solves the referential cycles problem