﻿# uintptr\_t

_uintptr\_t_ is an unsigned integer [memsize](https://pvs-studio.com/en/blog/terms/0030/) type that can safely store a pointer inside itself, regardless of the platform bitness\. The _uintptr\_t_ type is an analog of the [_size\_t_](https://pvs-studio.com/en/blog/terms/0044/) and [_UINT\_PTR_](https://pvs-studio.com/en/blog/terms/0051/) types\. The type size depends on the [data model](https://pvs-studio.com/en/blog/terms/0012/) being used\.

The standard does not guarantee type availability \(it is marked as optional\)\. In other words, its presence depends on the language standard, compiler, and standard library being used\.

You can learn more about memsize types and their usage in the following article ["About size\_t and ptrdiff\_t](https://pvs-studio.com/en/blog/posts/cpp/a0050/)"\.