The pointer_traits class template provides the standardized way to access certain properties of pointer-like types.
More...
#include <pointer_traits.hpp>
|
static auto | pointer_to (element_type &r) -> pointer |
| Constructs a dereferenceable pointer or pointer-like object ("fancy pointer") to its argument.
|
|
static auto | pointer_to (T &r) -> pointer requires(not etl::is_void_v< T >) |
| Constructs a dereferenceable pointer or pointer-like object ("fancy pointer") to its argument.
|
|
template<typename T>
struct etl::pointer_traits< T * >
The pointer_traits class template provides the standardized way to access certain properties of pointer-like types.
https://en.cppreference.com/w/cpp/memory/pointer_traits
- Template Parameters
-
◆ difference_type [1/2]
◆ difference_type [2/2]
◆ element_type [1/2]
◆ element_type [2/2]
◆ pointer [1/2]
◆ pointer [2/2]
◆ rebind
template<typename T>
template<typename U>
◆ pointer_to() [1/2]
◆ pointer_to() [2/2]
The documentation for this struct was generated from the following file: