You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow for the default state of allocatable variables to be allocated with a specified value:
type my_type
integer:: i =1 ! this has "always" been possible
character(len=:),allocatable :: str ='default' ! this is not currently possible
end type my_type
The text was updated successfully, but these errors were encountered:
jacobwilliams
changed the title
Default value for allocatable derived type component
Proposal: Default value for allocatable derived type component
Jul 5, 2017
Allow for the default state of allocatable variables to be allocated with a specified value:
This would also enable parameters:
The text was updated successfully, but these errors were encountered: