Provide a namespace for a suite of `typedef`s that encapsulate platform‐dependent types.

Synopsis

Declared in <bsls_types.h>

class Types;

Type Aliases

Name

Description

Int64

Signed 64‐bit integer type for the current platform.

IntPtr

Signed integer type guaranteed to be the same size as a pointer.

Uint64

The aliases Int64 and Uint64 stand for the appropriate types that define signed and unsigned 64‐bit integers, respectively, for the appropriate supported platforms.

UintPtr

Unsigned integer type guaranteed to be the same size as a pointer.

size_type

The alias size_type refers to the preferred type for denoting a number of elements in either bslma allocators or container types.

Created with MrDocs