Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mangling of function names


  • To: cxx-abi@xxxxxxxxxxxx
  • Subject: Re: mangling of function names
  • From: Alex Samuel <samuel@xxxxxxxxxxxxxxxx>
  • Date: Mon, 15 May 2000 19:14:27 -0700 (PDT)

dehnert@xxxxxxxxxxxxxxxxxxxx (Jim Dehnert) writes:

  Jim> void klasse::methode(struct klasse::methode){}

  Jim> That would mangle as _ZN6klasse7methodeENS_7methodeE.  If both
  Jim> are legitimate, and both may appear, we need to choose one or
  Jim> the other.

It has to be the second one (the fully scoped type); otherwise, it's
ambiguous.  There could always be another struct methode in the global
namespace.