Elements that fit before the next reallocation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_dp_t), | intent(in) | :: | self |
pure function vec_dp_capacity(self) result(n) !! Elements that fit before the next reallocation. class(vector_dp_t), intent(in) :: self integer(default_int) :: n if (allocated(self%items)) then n = size(self%items, kind=default_int) else n = 0 end if end function vec_dp_capacity