XB Library: xb::size_type

The xb::size_type is a typedef for the largest available data type. The type is used along the library where size or length needs to be specified.


Interface:

Currently defined as:

namespace xb {
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
    typedef unsigned long long  size_type;
#else if defined (_MSC_VER)
    typedef unsigned __int64    size_type;
#else
    typedef unsigned long       size_type;
#endif
};

Examples:

None.

Remarks:

None.


[index]