P
Plissken.s
Hi,
Is it possible to over load a function of a class with const input
parameter ?
class A {
public:
void aFunc(const B& b);
void aFunc(B& b);
}
and they have different implementation:
A::aFunc(const B& b) {
//....
}
A::aFunc(B& b) {
//....
}
Is it possible to over load a function of a class with const input
parameter ?
class A {
public:
void aFunc(const B& b);
void aFunc(B& b);
}
and they have different implementation:
A::aFunc(const B& b) {
//....
}
A::aFunc(B& b) {
//....
}