![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
pointer_traits specialization to handle raw pointer types.
More...

Public Types | |
| using | difference_type = ptrdiff_t |
| The type used to represent the difference between two pointers. | |
| using | element_type = T |
| The type of the element that is pointed to. | |
| using | pointer = T* |
| The type of the pointer. | |
| template<class U> | |
| using | rebind = U* |
A pointer to U. | |
Static Public Member Functions | |
| static constexpr auto | pointer_to (pointer_traits_detail::pointer_to_arg_t< element_type > element) noexcept -> pointer |
Return a pointer to the given element. | |
pointer_traits specialization to handle raw pointer types.
| using std::pointer_traits< T * >::difference_type = ptrdiff_t |
The type used to represent the difference between two pointers.
| using std::pointer_traits< T * >::element_type = T |
The type of the element that is pointed to.
| using std::pointer_traits< T * >::pointer = T* |
The type of the pointer.
A pointer to U.
| U | The new element type |
|
inlinestaticconstexprnoexcept |
Return a pointer to the given element.
| element | The element to get a pointer to |
pointer to the input element