- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
The authors of some source code I have found over the internet (regarding the treatment of generic linked lists under www.fortran.com) claim that TRANSFER function does not accept pointer arguments. However, simple tests that I have performed with IVF 10.1.21 suggest that TRANSFER does accept pointer arguments. Is this a compiler specific behavior? Would other compilers complain about it?
Thanks,
Jon
Thanks,
Jon
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
1 Responder
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I don't see anything in the Fortran standard to exclude pointer arguments from TRANSFER. Of course, such arguments will be automatically dereferenced so you are accessing the data, not the pointer, just like in any other variable reference.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla