Search:

Type: Posts; User: copeg

Search: Search took 0.14 seconds.

  1. Replies
    5
    Views
    1,691

    Re: Polymorphism issue

    You can't overload an abstract function in a child class and use it abstractly via the parent the way it seems you would like. If you want to abstract them using a reference of the parent type, you...
  2. Replies
    5
    Views
    1,691

    Re: Polymorphism issue

    Not sure I understand the problem, but if you have an abstract class with abstract function, just implement that function in the child class. This allows you to abstract the actual algorithm.
    ...
Results 1 to 2 of 2