-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Clause 11Standard Clause 11: Execution controlStandard Clause 11: Execution control
Description
I seem to encounter this sort of thing a lot:
class(abs_class),allocatable :: my_class
allocate( specific :: my_class )
select type (my_class)
class is (specific)
!... now can access specific my_class members...
end select It would be nice to combine the allocate/select type/class is into one line. If you're going to allocate a class, and then immediately do something with it, the amount of code here seems excessive.
I'm not sure what the syntax would look like.
certik, FortranFan and gronki
Metadata
Metadata
Assignees
Labels
Clause 11Standard Clause 11: Execution controlStandard Clause 11: Execution control