As an alternative to the addition of namespace-scope declarations for friend declarations, the old pre-standard visibility of friend declarations can be restored in g++ 4.1 by using the option "-ffriend-injection". This is only a temporary solution, though, as this option will probably be removed in some later version.
Ben. -- Ben Hutchings Q. Which is the greater problem in the world today, ignorance or apathy? A. I don't know and I couldn't care less.
signature.asc
Description: This is a digitally signed message part