ILE C/C++ Programmer's Guide

Examples: Overloading Functions

C++ language only A function signature is affected by the data model governing the class/function declaration.

For example, int Bar::foo(const char *) is mangled to:

It is possible to create overloaded methods which are identical in every way except the size of a pointer argument.

Example:

  class Bar {
  		 int foo(const char* __ptr128); 		
  		 int foo(const char* __ptr64);
  };


[ Top of Page | Previous Page | Next Page | Table of Contents ]