VecMustPushFrontL
Description
Aborting variant of VecPushFrontL. See that macro for parameter semantics and success-state effects.
Success
Returns to the caller. The underlying VecPushFrontL call succeeded; see VecPushFrontL for the post-state.
Failure
Does not return - aborts via LOG_FATAL / Abort when the underlying VecPushFrontL call returns false.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Insert.h:1022:
do { \
if (!VecPushFrontL((v), (val))) { \
LOG_FATAL("VecMustPushFrontL failed"); \
} \
} while (0)- In
Insert.h:269:
/// TAGS: Str, PushFront, Char, Must, Abort
///
#define StrMustPushFrontL(str, lval) VecMustPushFrontL((str), (lval))
#define StrMustPushFrontR(str, rval) VecMustPushFrontR((str), (rval))
#define StrMustPushFront(str, val) StrMustPushFrontL((str), (val))
Last updated on