BSLS_MACROINCREMENT

Return the preprocessor number that is the successor to MACRO_VALUE.

Synopsis

Declared in <bsls_macroincrement.h>

#define BSLS_MACROINCREMENT(MACRO_VALUE)

Description

The behavior is undefined unless MACRO_VALUE is an integer literal, or a macro that ultimately expands to an integer literal.

Parameters

NameDescription
MACRO_VALUEinteger literal, or a macro that expands to one