From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: working with diferent instances of the same generic interface
Date: Sun, 13 Sep 2015 20:22:31 +0200
Date: 2015-09-13T20:22:31+02:00 [thread overview]
Message-ID: <87zj0qnpqw.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: 43ea52fd-3d08-417a-9f8a-842c366c151e@googlegroups.com
* Aitor Alcrudo Sangros:
> Ok, so you are saying I can't treat two instances of an interface the
> same way even if the only thing I want is to call interface
> procedures/functions?
You'd have to define the interface outside the generic package, so
that it is not generic.
Alternatively, you can write another generic which takes the instance
as a generic formal argument.
next prev parent reply other threads:[~2015-09-13 18:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 15:10 working with diferent instances of the same generic interface Aitor Alcrudo Sangros
2015-09-08 17:11 ` G.B.
2015-09-09 6:38 ` Jacob Sparre Andersen
2015-09-09 11:08 ` Aitor Alcrudo Sangros
2015-09-09 12:17 ` Egil H H
2015-09-09 12:41 ` Aitor Alcrudo Sangros
2015-09-09 13:10 ` Egil H H
2015-09-09 14:50 ` Aitor Alcrudo Sangros
2015-09-09 16:48 ` Egil H H
2015-09-09 19:04 ` Aitor Alcrudo Sangros
2015-09-09 19:16 ` Dmitry A. Kazakov
2015-10-01 16:45 ` Aitor Alcrudo Sangros
2015-10-01 19:29 ` Dmitry A. Kazakov
2015-10-01 20:09 ` Randy Brukardt
2015-09-13 18:22 ` Florian Weimer [this message]
2015-09-10 12:22 ` Jacob Sparre Andersen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox