Package functions cannot be abstract?!
Benjamin Schaaf
ben.schaaf at gmail.com
Wed Jan 30 12:28:42 UTC 2019
On Wednesday, 30 January 2019 at 04:05:15 UTC, Jonathan Levi
wrote:
> Do you have a recommendation on how to do what I am trying to
> do?
So you want a public class that has private abstract methods that
you share across private implementations. Why not use an
interface?
interface F {
void foo();
}
private abstract class Base : F {
abstract void bar() {
...
}
}
class Impl : Base { ... }
More information about the Digitalmars-d
mailing list