P99

◆ P99_TENTATIVE_DEC

#define P99_TENTATIVE_DEC (   T,
  NAME 
)    P00_TENTATIVE_DEC(NAME) T NAME

A tentative declaration of an object NAME of type T.

On most platforms this should just result in

static T NAME

so a declaration of NAME that is also a tentative definition. Such a beast is suitable to provide a default value of 0 for NAME, that can at any point in the same compilation unit be overwritten by a user specified value.

See also
P99_TENTATIVE_DEF for the corresponding definition that should provide a value through initialization.

Definition at line 587 of file p99_compiler.h.