Function is not implemented.
Ali Çehreli
acehreli at yahoo.com
Tue Nov 26 10:05:07 PST 2013
On 11/26/2013 09:52 AM, Agustin wrote:
> Oh i forgot to add the implementation here, but its there, what i want
> to do is with an interface be able to change "protected" to "public",
> this is possible using Java but i don't know if possible using D.
>
>
> class C : B, A -> setCancelled() is changed from protected to public
> {
> }
>
>
I don't know any other way than implementing in terms of B:
class C : B, A
{
public override bool isCancelled()
{
return B.isCancelled();
}
protected override void setCancelled(bool value)
{
B.setCancelled(value);
}
}
Ali
More information about the Digitalmars-d-learn
mailing list