Function CSTL_vector_max_size

Source
pub unsafe extern "C" fn CSTL_vector_max_size(
    type_: CSTL_Type,
) -> usize
Expand description

Returns the maximum possible number of elements in the vector.

As if by (PTRDIFF_MAX - 1) / CSTL_type_size(type).