omni::application::bit_width

SYNOPSIS

Gets the current application's bit width (i.e. 32 or 64 bit)

top

DESCRIPTION

Gets the current application context bit width by retrieving the size of a pointer and multiplying by CHAR_BIT; returns the following code (sizeof(char*) * CHAR_BIT). This does not affirm if a processor type is a specific bit width, e.g. a 32-bit application calling this function would return 32 even if run on a 64-bit machine.

top

RETURN VALUES

An unsigned integer value of the current bit width.

top

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

No extra considerations.

top

PLATFORM SPECIFIC

Nothing platform specific to account for.

top

NOTES

No additional notes.

top

EXAMPLE
Currently no examples.
Visit the examples page for more.

top