VecPushFrontArr

Table of Contents

VecPushFrontArr

Description

Push a complete array into this vector front. By default, this uses L-value semantics (ownership transfer).

Note

Ownership trasfer takes place if vector is not creating it’s own copy of items.

Parameters

NameDirectionDescription
vin,outVector to insert array items into.
arrinArray to be inserted.
countinNumber (non-zero) of items in array.

Success

v

Failure

Does not return on failure

Usage example (Cross-references)

    // Test VecPushFrontArr function
    bool test_vec_push_front_arr(void) {
    printf("Testing VecPushFrontArr\n");
    
    // Create a vector of integers

Share :