This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Inheritance across modules
- From: "Bryan C. Everly" <bryan at bceassociates dot com>
- To: fortran at gcc dot gnu dot org
- Date: Tue, 12 Jul 2016 13:49:11 -0400
- Subject: Inheritance across modules
- Authentication-results: sourceware.org; auth=none
Hi,
I'm trying to build some code where I have a custom type defined in a
module (file1) and I'm trying to subclass that so I can override one
of the procedures in it in a second file (file2). If someone could
provide me with an example of this, I'd really appreciate it. I'm a
C++ guy who is moving over to Fortran and I'm really digging it so
far. I just have failed my Google-Fu test on this particular aspect.
Much appreciate from the n00b!
Thanks,
Bryan