FreeBSD/contrib/gcc/cp/typeck.c
/* EXPR is being used in a context that is not a function call.
   Enforce:

     [expr.ref]

     The expression can be used only as the left-hand operand of a
     member function call.

     [expr.mptr.operator]

     If the result of .* or ->* is a function, then that result can be
     used only as the operand for the function call operator ().

   by issuing an error message if appropriate.  Returns true iff EXPR
   violates these rules.  */
EXPR is being used in a context that is not a function call.
Enforce.



The expression can be used only as the left-hand operand of a
member function call.



If the result of .* or ->* is a function, then that result can be
used only as the operand for the function call operator ().

by issuing an error message if appropriate.  Returns true iff EXPR
violates these rules.
EXPR is being used in a context that is not a function call . Enforce . The expression can be used only as the left - hand operand of a member function call . If the result of . * or - > * is a function then that result can be used only as the operand for the function call operator () . by issuing an error message if appropriate . Returns true iff EXPR violates these rules .
bool
invalid_nonstatic_memfn_p (tree expr)
{
  if (TREE_CODE (TREE_TYPE (expr)) == METHOD_TYPE)
    {
      error ("invalid use of non-static member function");
      return true;
    }
  return false;
}
bool invalid_nonstatic_memfn_p ( tree expr ) { if ( TREE_CODE ( TREE_TYPE ( expr ) ) == METHOD_TYPE ) { error ( " " ) ; return true ; } return false ; }
EXPR is being used in a context that is not a function call.
EXPR is being used in a context that is not a function call .