Constructor for the ordered storage data structure
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(toml_list_structure), | intent(out), | allocatable | :: | self |
Instance of the structure |
subroutine new_list_structure(self) !> Instance of the structure class(toml_list_structure), allocatable, intent(out) :: self block type(toml_array_list), allocatable :: list allocate(list) call new_array_list(list) call move_alloc(list, self) end block end subroutine new_list_structure