------- Additional Comments From fang at csl dot cornell dot edu 2005-02-27 06:53 ------- Workaround discovered (shortly after I asked for one, fancy that!)
Declaring: using util::persistent_object_manager; inside the 'memory' namespace before the first friend declaration (after line 5) results in correct output for the examples listed above. The using declaration prevents (I think) injection of the friend class declaration into the 'memory' namespace and further confusion. Not a bad idea in practice, actually. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19948