If I understand well, in C#, it is possible to do
public class X : ICloneable
{
public X Clone() { ... }
object ICloneable.Clone() { return Clone(); } // This calls the above
}
according to this thread. This kind of overloading is forbidden in C++, since it only depends on the return type.
Now, I would like to do this exact thing with ICloneable
in C++/CLI. Is there a way ?