Skip to content

Rose::INVALID_INDEX

Invalid array index.

Synopsis

Declared in <src/Rose/Constants.h>

size_t const INVALID_INDEX = {static_cast<size_t>(‐1)};

Description

This is used to represent lack of a valid array index. Use this instead of "(size_t)(‐1)" for better self‐documenting code.

Created with MrDocs