http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58948
--- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- (In reply to sshannin from comment #2) > I wonder if there's any way to declare it such that the namespaces/types are > unambiguous that will parse correctly in both the c++11 and c++03 modes. The following approach should realize that: ::G::A (::G::ref)()