Function CSTL_vector_copy_assign_range

Source
pub unsafe extern "C" fn CSTL_vector_copy_assign_range(
    instance: CSTL_VectorRef,
    type_: CSTL_Type,
    copy: CSTL_CopyTypeCRef,
    first: *const c_void,
    last: *const c_void,
    alloc: *mut CSTL_Alloc,
) -> bool
Expand description

Destroys vector contents, replacing them with a copy of the range [first, last).

If new_size > CSTL_vector_max_size(type) (vector too long) this function has no effect and returns false, otherwise it returns true.