------- Comment #5 from jakub at gcc dot gnu dot org 2007-01-02 16:53 ------- The second option really is not possible, grokclassfn is usually called by do_friend. But on this testcase revert_static_member_fn is called earlier than do_friend (from check_explicit_specialization from grokdeclarator), so it had no chance yet to add that argument.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29054