Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28591 Discussions

Object-bound procedures in Fortran 2003

n_kirkbysurrey_ac_uk
380 Views
Are object-bound procedures available yet for both functions and subroutines? With an abstract interface that clearly states a subroutine is to be the target, the compiler complains when I try to assign the component to a subroutine, stating that it was expecting a function.

I have got type-bound procedures working fine.
Norman
0 Kudos
3 Replies
Andrew_Smith
Valued Contributor I
380 Views
I never heard of an object bound procedure. Could you post some code?
0 Kudos
Wendy_Doerner__Intel
Valued Contributor I
380 Views
Also could you post a reference to it from the relevantFortran standard?

------

Wendy

Attaching or including files in a post

0 Kudos
reinhold-bader
New Contributor II
380 Views
Hello,

"object-bound" procedure to my knowledge is an alternative term for "procedure pointer type component". These indeed should be supported in 11.1 (although some bugs may still be outstanding). A code example would indeed be required to see what is going on.

Regards
Reinhold
0 Kudos
Reply