|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
原始指针的特化版本 更多...
#include <iterator_traits.hpp>
Public 类型 | |
| using | pointer = T* |
| 指针类型 | |
| using | element_type = T |
| 元素类型 | |
| using | difference_type = ptrdiff_t |
| 差值类型 | |
| using | reference = conditional_t<is_void<T>::value, char, T>& |
| 引用类型 | |
| template<typename U> | |
| using | rebind = U* |
| 重新绑定到其他元素类型的模板 | |
静态 Public 成员函数 | |
| static MSTL_NODISCARD constexpr pointer | pointer_to (reference x) noexcept |
| 从引用创建指针 | |
原始指针的特化版本
| T | 元素类型 |
在文件 iterator_traits.hpp 第 234 行定义.
|
inlinestaticconstexprnoexcept |