NAME
A function of omni::application
omni::application::bit_width
A function of omni::application
#include <omni/application.hpp>
inline unsigned int omni::application::bit_width()
DESCRIPTION
Gets the current application context bit width by retrieving the size of a pointer and multiplying by CHAR_BIT; returns the following code
top
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