fixed_array_int_size Function

private pure function fixed_array_int_size(self) result(n)

Number of live elements.

Type Bound

fixed_array_int_t

Arguments

Type IntentOptional Attributes Name
class(fixed_array_int_t), intent(in) :: self

Return Value integer(kind=default_int)


Source Code

   pure function fixed_array_int_size(self) result(n)
      !! Number of live elements.
      class(fixed_array_int_t), intent(in) :: self
      integer(default_int) :: n

      n = self%n_items
   end function fixed_array_int_size