array_list_to_array Function

private pure function array_list_to_array(this)

Arguments

Type IntentOptional AttributesName
class(array_list), intent(in) :: this

Return Value class(container), dimension(:),allocatable

An array of container objects holding the contents of this list

Description

Returns copies of all items held in this list, stored within an array of container objects.


Source Code

  pure function array_list_to_array(this)
    !* Author: Chris MacMackin
    !  Date: March 2016
    !
    ! Returns copies of all items held in this list, stored within an
    ! array of [[container]] objects.
    !  
    class(array_list), intent(in) :: this
    class(container), dimension(:), allocatable :: array_list_to_array
      !! An array of [[container]] objects holding the contents of
      !! this list
  end function array_list_to_array