Fortran Coder

查看: 8445|回复: 4
打印 上一主题 下一主题

[面向对象] interface assignment 和interface operator写为type-bound procedure形式

[复制链接]

490

帖子

4

主题

0

精华

大宗师

F 币
3298 元
贡献
1948 点

水王勋章元老勋章热心勋章

楼主
发表于 2016-4-21 09:48:14 | 显示全部楼层
可以参考这个回答,pass属性应该是编译器默认的
http://stackoverflow.com/questio ... ointer-derived-type
http://stackoverflow.com/questio ... ttribute-in-fortran
个人看法:
没有面向对象编程OOP基础,选择fortran来上手,无异于开奇瑞QQ车去参加F1大赛
您需要登录后才可以回帖 登录 | 极速注册

本版积分规则

捐赠本站|Archiver|关于我们 About Us|小黑屋|Fcode ( 京ICP备18005632-2号 )

GMT+8, 2024-5-14 12:38

Powered by Tencent X3.4

© 2013-2024 Tencent

快速回复 返回顶部 返回列表