Print

Print


A while ago, actually I think it was over 2 years ago, a thread
concerning the coding of a so-called "Generic Linked List" in Fortran 90
was started in this list.  Unfortunately, the archives only go back to
October 1997 and I think that most of the discussion was before that.

It involved writing the list using a "generic" data type for the nodes and
using the TRANSFER() function to create additional list types from the
"generic" type.  Someone, and I'm sorry that I forgot who did it, posted a
fairly detailed bit of code for doing this.

1.)  Does anyone remember this discussion?
2.)  If so, does anyone have the original code that they can
upload here?
3.)  If not, does anyone have any other suggestion for creating a linked
data structure in the "generic" sense?.  Essentially, what I am looking
for is a way to do C++ like templates in a Fortran90 way.

Thanks,
Daniel Fridline
[log in to unmask]




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%