| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
cpp::

# Namespace cpp::

Constant __VERSION__

  `constant __VERSION__`

Description

  This define contains the current Pike version as a float. If another Pike version is emulated, this define is updated accordingly.

See also

  __REAL_VERSION__

Constant __REAL_VERSION__

  `constant __REAL_VERSION__`

Description

  This define always contains the version of the current Pike, represented as a float.

See also

  __VERSION__

Constant __MAJOR__

  `constant __MAJOR__`

Description

  This define contains the major part of the current Pike version, represented as an integer. If another Pike version is emulated, this define is updated accordingly.

See also

  __REAL_MAJOR__

Constant __REAL_MAJOR__

  `constant __REAL_MAJOR__`

Description

  This define always contains the major part of the version of the current Pike, represented as an integer.

See also

  __MAJOR__

Constant __MINOR__

  `constant __MINOR__`

Description

  This define contains the minor part of the current Pike version, represented as an integer. If another Pike version is emulated, this define is updated accordingly.

See also

  __REAL_MINOR__

Constant __REAL_MINOR__

  `constant __REAL_MINOR__`

Description

  This define always contains the minor part of the version of the current Pike, represented as an integer.

See also

  __MINOR__

Constant __BUILD__

  `constant __BUILD__`

Description

  This constant contains the build number of the current Pike version, represented as an integer. If another Pike version is emulated, this constant remains unaltered.

See also

  __REAL_MINOR__

Constant __REAL_BUILD__

  `constant __REAL_BUILD__`

Description

  This define always contains the minor part of the version of the current Pike, represented as an integer.

See also

  __BUILD__

Constant __LINE__

  `constant __LINE__`

Description

  This define contains the current line number, represented as an integer, in the source file.

Constant __FILE__

  `constant __FILE__`

Description

  This define contains the file path and name of the source file.

Constant __DIR__

  `constant __DIR__`

Description

  This define contains the directory path of the source file.

Constant __DATE__

  `constant __DATE__`

Description

  This define contains the current date at the time of compilation, e.g. "Jul 28 2001".

Constant __TIME__

  `constant __TIME__`

Description

  This define contains the current time at the time of compilation, e.g. "12:20:51".

Constant __PIKE__

  `constant __PIKE__`

Description

  This define is always true.

Constant __AUTO_BIGNUM__

  `constant __AUTO_BIGNUM__`

Description

  This define is defined when automatic bignum conversion is enabled. When enabled all integers will automatically be converted to bignums when they get bigger than what can be represented by an integer, hampering performance slightly instead of crashing the program.

Constant __NT__

  `constant __NT__`

Description

  This define is defined when the Pike is running on a Microsoft Windows OS, not just Microsoft Windows NT, as the name implies.

Constant __amigaos__

  `constant __amigaos__`

Description

  This define is defined when the Pike is running on Amiga OS.