------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-02-28 06:22 ------- If you want a work around, simply use this in the first 'friend' declaration:
friend class util::persistent_object_manager; There is still uncertainty about whether name from 'using' declaration/directive is allowed (DR138) so your workaround may not work in the future. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19948