FreeBSD/contrib/gcc/cp/name-lookup.c
/* True if we are currently in a toplevel binding level.  This
   means either the global binding level or a namespace in a toplevel
   binding level.  Since there are no non-toplevel namespace levels,
   this really means any namespace or template parameter level.  We
   also include a class whose context is toplevel.  */
True if we are currently in a toplevel binding level.  This
means either the global binding level or a namespace in a toplevel
binding level.  Since there are no non-toplevel namespace levels,
this really means any namespace or template parameter level.  We
also include a class whose context is toplevel.
True if we are currently in a toplevel binding level . This means either the global binding level or a namespace in a toplevel binding level . Since there are no non - toplevel namespace levels this really means any namespace or template parameter level . We also include a class whose context is toplevel .
bool
toplevel_bindings_p (void)
{
  struct cp_binding_level *b = innermost_nonclass_level ();
  return b->kind == sk_namespace || b->kind == sk_template_parms;
}
bool toplevel_bindings_p ( void ) { struct cp_binding_level * b = innermost_nonclass_level ( ) ; return b -> kind == sk_namespace || b -> kind == sk_template_parms ; }
True if we are currently in a toplevel binding level.
True if we are currently in a toplevel binding level .