Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
告知
Important Update: Community Platform Migration​. Learn more​>
29652 ディスカッション

Object-bound procedures in Fortran 2003

n_kirkbysurrey_ac_uk
ビギナー
1,781件の閲覧回数
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 件の賞賛
3 返答(返信)
Andrew_Smith
高評価コントリビューター I
1,781件の閲覧回数
I never heard of an object bound procedure. Could you post some code?
Wendy_Doerner__Intel
高評価コントリビューター I
1,781件の閲覧回数
Also could you post a reference to it from the relevantFortran standard?

------

Wendy

Attaching or including files in a post

reinhold-bader
新規コントリビューター II
1,781件の閲覧回数
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
返信