VecPushFront

Table of Contents

VecPushFront

Description

Push item into vector front.

Note

default behavior is same as inserting an l-value using VecPushBackL

Parameters

NameDirectionDescription
vin,outVector to push item into
rvalinr-value to be inserted

Success

return

Failure

Does not return

Usage example (Cross-references)

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

Share :