The pointer n elements further on.
Declared in <cptr/ptr.hpp>
constexpr
basic_ptr
operator+(
basic_ptr p,
std::ptrdiff_t n) noexcept
requires (!std::is_void_v<T>);
This function is a hidden friend of basic_ptr, declared only inside that class: it can be found only through argument-dependent lookup.
A nullable pointer to a T inside Cage, stored in 4 bytes. Use it as ptr<T> or strict_ptr<T>, declared below.
| Name | Description |
|---|---|
| p | The left operand |
| n | The right operand |