[MPI3 Fortran] Fortran extra_state argumentto MPIattributefunctions

Jeff Squyres jsquyres at cisco.com
Thu May 28 07:19:57 CDT 2009

On May 27, 2009, at 9:02 PM, Aleksandar Donev wrote:

> > I guess I should clarify here -- the intent for this parameter is  
> not to
> > be interoperable with C.
> I understand, but you were asking about a "neutral" type that can be
> "cast" into the "right type".

My mistake for using incorrect terminology.

> The C void* can be used for such things,
> but Fortran does not have an equivalent, at least not unless you count
> Fortran 2003 object oriented features (where there are "unlimited
> polymorphic pointers" which provide a type-safe "castable" generic
> pointer). This is why using C interoperability is good here---it is
> legal and does what you want.


Jeff Squyres
Cisco Systems

More information about the mpiwg-fortran mailing list