- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I want to use type bound assigment, but I don't know how? Any idea?
Thanks,
DONG Li
I want to use type bound assigment, but I don't know how? Any idea?
Thanks,
DONG Li
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know what you mean by "type bound assignment". Can you explain in more detail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Steve Lionel (Intel)
I don't know what you mean by "type bound assignment". Can you explain in more detail?
I assume he means a generic type-bound procedure associated with the assignment operation rather than a generic name or operator. In other words a type containing a statement something like
GENERIC :: ASSIGNMENT(=) => assign_proc_1, assign_proc_2, assign_proc_3
I have this vague recollection that ifort doesn't support generic type-bound procedures, yet. If that is the case, it would explain why the OP can't figure out how to do type-bound assignment in ifort.
-Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correct - GENERIC type-bound procedures are not supported in 11.1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Steve,
I found that, and I used module procedure interface for this purpose.
Thanks!
Best regards,
DONG Li
I found that, and I used module procedure interface for this purpose.
Thanks!
Best regards,
DONG Li

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page