cptr::basic_ptr::difference_type

The signed distance between two pointers, in elements. Together with the iterator types below, it lets ptr serve as an allocator's pointer type, which must be a random access iterator.

Synopsis

Declared in <cptr/ptr.hpp>

using difference_type = std::ptrdiff_t;