Name

ptrdiff_t type — Pointer difference type

Synopsis

typedef ... ptrdiff_t
               
image with no caption

The ptrdiff_t type is a signed integral type that represents the difference between two pointers. The exact type is implementation-defined.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.