Top "Overloading" questions

The terms overloading and overloaded may refer to: - Constructor and method overloading, a type of polymorphism where different functions with the same name are invoked based on the data types of the parameters passed - Operator overloading, a form of functional or method overloading where the action being overloaded is an operator, such as + or -

How to get the address of an overloaded member function?

I'm trying to get a pointer to a specific version of an overloaded member function. Here's the example: class C { …

c++ overloading pointer-to-member
How can you overload a function in ActionScript?

I want a function to be able to take in various types. AS3 doesn't support overloading directly... so I can't …

actionscript-3 actionscript overloading
Why would anyone want to overload the & (address-of) operator?

Possible Duplicate: What legitimate reasons exist to overload the unary operator& ? I just read this question, and I can't …

c++ operator-overloading overloading address-operator
Overloading functions with Fortran

In Fortran 90, we can overload functions with an interface. However, according to this site, we cannot define these functions with …

fortran overloading fortran90
Why is it not possible to overload class templates?

Reading this question made me wonder: is there a technical reason for disallowing class templates overloads? By overloading, I mean …

c++ templates overloading template-specialization language-lawyer
Any reason to overload global new and delete?

Unless you're programming parts of an OS or an embedded system are there any reasons to do so? I can …

c++ memory-management overloading
C++ - ostream, friends and namespaces

Everything was fine until I moved my objects to a namespace. And now the compiler claims that my Color attributes …

c++ overloading ostream
Why do multiple-inherited functions with same name but different signatures not get treated as overloaded functions?

The following snippet produces an "ambigious call to foo" error during compilation, and I'd like to know if there is …

c++ scope overloading multiple-inheritance
Lambda expression and method overloading doubts

OK, so method overloading is-a-bad-thing™. Now that this has been settled, let's assume I actually want to overload a method …

java lambda java-8 overloading jls
Function Overloading Based on Value vs. Const Reference

Does declaring something like the following void foo(int x) { std::cout << "foo(int)" << std::endl; } …

c++ pass-by-reference pass-by-value overloading