About 1,430,000 results
Open links in new tab
  1. What is name mangling, and how does it work? - Stack Overflow

    Aug 22, 2009 · Name mangling is a means by which compilers modify the "compiled" name of an object, to make it different than what you specified in a consistent manner. This allows a …

  2. Should I use name mangling in Python? - Stack Overflow

    Name mangling is invoked when you are in a class definition and use __any_name or __any_name_, that is, two (or more) leading underscores and at most one trailing underscore.

  3. questions about name mangling in C++ - Stack Overflow

    Name mangling is the process used by C++ compilers give each function in your program a unique name. In C++, generally programs have at-least a few functions with the same name.

  4. c++ - How can I avoid name mangling? - Stack Overflow

    Feb 7, 2009 · The most common reason to avoid name mangling is because you are building a shared library (on Windows, a DLL) that is used by client software you don't control that …

  5. GCC C++ Name mangling reference - Stack Overflow

    Looking around, I see mostly questions about demangling C++ symbols rather than how to mangle them. Yes, one could invoke g++, using the -S option, on some dummy code …

  6. How do I stop name-mangling of my DLL's exported function?

    Sep 23, 2009 · I'm trying to create a DLL that exports a function called "GetName". I'd like other code to be able to call this function without having to know the mangled function name. My …

  7. Shebang being mangled by rpmbuild - Stack Overflow

    Apr 22, 2021 · #!/usr/bin/<anything> was accepted three years ago. My solution to adapt to the mangling by rpmbuild is to mangle the shebang that is going to be mangled as follows:

  8. Inheritance of private and protected methods in Python

    Nov 28, 2013 · Private name mangling: When an identifier that textually occurs in a class definition begins with two or more underscore characters and does not end in two or more …

  9. What is Linux utility to mangle a C++ symbol name?

    Is there a programatic way to get the string that represents a C++ function at runtime so that the code is compiler independent? One way to possibly do this would be to call a utility at compile …

  10. Is this summary of the purpose of name mangling correct?

    Feb 28, 2021 · 2 Name mangling is unnecessary for a child class to override a method with more parameters. The purpose is to prevent overriding of a method, particularly the overriding of a …