Skip to content

Rose::UNLIMITED

Effectively unlimited size.

Synopsis

Declared in <src/Rose/Constants.h>

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

Description

This is used, among other places, as a default argument for functions that limit the size of their return value in some way. Use this instead of "(size_t)(‐1)" for better self‐documenting code.

Created with MrDocs