fixed_array_int_is_full Function

private pure function fixed_array_int_is_full(self) result(full)

True when a further push_back would fail.

Type Bound

fixed_array_int_t

Arguments

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

Return Value logical


Source Code

   pure function fixed_array_int_is_full(self) result(full)
      !! True when a further `push_back` would fail.
      class(fixed_array_int_t), intent(in) :: self
      logical :: full

      full = (self%n_items >= PIC_FIXED_ARRAY_CAPACITY)
   end function fixed_array_int_is_full